1
0
mirror of https://github.com/django/django.git synced 2025-07-04 01:39:20 +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:
Brian Rosner 2008-07-18 23:06:59 +00:00
parent deedd01ca3
commit 42ea7a5ce8

View File

@ -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
=================== ===================