Fixed #8700: Corrected example in localflavor docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5f3a182357
commit
b02d2aba1c
|
@ -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
|
||||
===================
|
||||
|
|
Loading…
Reference in New Issue