mirror of
https://github.com/django/django.git
synced 2025-01-27 10:39:40 +00:00
Fixed #7685 -- fixed a typo in French localflavor documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
436ef181f3
commit
5f6b08fc6b
@ -20,10 +20,10 @@ For example, here's how you can create a form with a field representing a
|
|||||||
French telephone number::
|
French telephone number::
|
||||||
|
|
||||||
from django import newforms as forms
|
from django import newforms as forms
|
||||||
from django.contrib.localflavor import fr
|
from django.contrib.localflavor.fr.forms import FRPhoneNumberField
|
||||||
|
|
||||||
class MyForm(forms.Form):
|
class MyForm(forms.Form):
|
||||||
my_french_phone_no = fr.forms.FRPhoneNumberField()
|
my_french_phone_no = FRPhoneNumberField()
|
||||||
|
|
||||||
Supported countries
|
Supported countries
|
||||||
===================
|
===================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user