summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJames Bennett <ubernostrum@gmail.com>2008-09-02 00:26:28 +0000
committerJames Bennett <ubernostrum@gmail.com>2008-09-02 00:26:28 +0000
commitc7a10b677d51d5f76491011702e08588c9c63777 (patch)
treea5f298384c1e19397e5732f656efb760590d08b1 /docs
parent1b615ac46dc496f97b14feaa0bd3e664bc3b4120 (diff)
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
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/localflavor.txt5
-rw-r--r--docs/ref/models/fields.txt8
2 files changed, 5 insertions, 8 deletions
diff --git a/docs/ref/contrib/localflavor.txt b/docs/ref/contrib/localflavor.txt
index 25b60de2d0..014ef71adc 100644
--- a/docs/ref/contrib/localflavor.txt
+++ b/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
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
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 5f656da66a..f48d5226b5 100644
--- a/docs/ref/models/fields.txt
+++ b/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.
-``PhoneNumberField``
---------------------
-
-.. 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``).
-
``PositiveIntegerField``
------------------------