mirror of
https://github.com/django/django.git
synced 2025-07-03 09:19:16 +00:00
newforms-admin: Merged from trunk up to [7961].
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
deedd01ca3
commit
42ea7a5ce8
@ -20,10 +20,10 @@ For example, here's how you can create a form with a field representing a
|
||||
French telephone number::
|
||||
|
||||
from django import newforms as 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…
x
Reference in New Issue
Block a user