Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #8700: Corrected example in localflavor docs

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b02d2aba1cefc144a28e8c1c3e50de00d33d00f6 1 parent 5f3a182
@ubernostrum ubernostrum authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/contrib/localflavor.txt
View
4 docs/ref/contrib/localflavor.txt
@@ -28,10 +28,10 @@ For example, here's how you can create a form with a field representing a
French telephone number::
from django import forms
- from django.contrib.localflavor import fr
+ from django.contrib.localflavor.fr.forms import FRPhoneNumberField
class MyForm(forms.Form):
- my_french_phone_no = fr.forms.FRPhoneNumberField()
+ my_french_phone_no = FRPhoneNumberField()
Supported countries
===================
Please sign in to comment.
Something went wrong with that request. Please try again.