mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #8786: Moved phone number field docs to localflavor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -650,6 +650,11 @@ United States of America (``us``)
|
||||
A form ``Select`` widget that uses a list of U.S. states/territories as its
|
||||
choices.
|
||||
|
||||
.. class:: us.models.PhoneNumberField
|
||||
|
||||
A :class:`CharField` that checks that the value is a valid U.S.A.-style phone
|
||||
number (in the format ``XXX-XXX-XXXX``).
|
||||
|
||||
.. class:: us.models.USStateField
|
||||
|
||||
A model field that forms represent as a ``forms.USStateField`` field and
|
||||
|
||||
Reference in New Issue
Block a user