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 ``