Ticket #8786: 8786-1.diff
File 8786-1.diff, 1.2 KB (added by , 16 years ago) |
---|
-
ref/contrib/localflavor.txt
650 650 A form ``Select`` widget that uses a list of U.S. states/territories as its 651 651 choices. 652 652 653 .. class:: us.models.PhoneNumberField 654 655 A :class:`CharField` that checks that the value is a valid U.S.A.-style phone 656 number (in the format ``XXX-XXX-XXXX``). 657 653 658 .. class:: us.models.USStateField 654 659 655 660 A model field that forms represent as a ``forms.USStateField`` field and -
ref/models/fields.txt
617 617 this instead of a :class:`BooleanField` with ``null=True``. The admin represents 618 618 this as a ``<select>`` box with "Unknown", "Yes" and "No" choices. 619 619 620 ``PhoneNumberField``621 --------------------622 623 .. class:: PhoneNumberField([**options])624 625 A :class:`CharField` that checks that the value is a valid U.S.A.-style phone626 number (in the format ``XXX-XXX-XXXX``).627 628 620 ``PositiveIntegerField`` 629 621 ------------------------ 630 622