Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #8786: Moved phone number field docs to localflavor

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 1b615ac commit c7a10b677d51d5f76491011702e08588c9c63777 @ubernostrum ubernostrum committed
Showing with 5 additions and 8 deletions.
  1. +5 −0 docs/ref/contrib/localflavor.txt
  2. +0 −8 docs/ref/models/fields.txt
5 docs/ref/contrib/localflavor.txt
@@ -650,6 +650,11 @@ United States of America (``us``)
A form ``Select`` widget that uses a list of U.S. states/territories as its
+.. 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
8 docs/ref/models/fields.txt
@@ -617,14 +617,6 @@ Like a :class:`BooleanField`, but allows ``NULL`` as one of the options. Use
this instead of a :class:`BooleanField` with ``null=True``. The admin represents
this as a ``<select>`` box with "Unknown", "Yes" and "No" choices.
-.. class:: PhoneNumberField([**options])
-A :class:`CharField` that checks that the value is a valid U.S.A.-style phone
-number (in the format ``XXX-XXX-XXXX``).

0 comments on commit c7a10b6

Please sign in to comment.
Something went wrong with that request. Please try again.