Django

Code

Changeset 8830

Show
Ignore:
Timestamp:
09/01/08 19:26:28 (4 months ago)
Author:
ubernostrum
Message:

Fixed #8786: Moved phone number field docs to localflavor

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/ref/contrib/localflavor.txt

    r8819 r8830  
    651651    choices. 
    652652 
     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 
    653658.. class:: us.models.USStateField 
    654659 
  • django/trunk/docs/ref/models/fields.txt

    r8819 r8830  
    618618this as a ``<select>`` box with "Unknown", "Yes" and "No" choices. 
    619619 
    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 phone 
    626 number (in the format ``XXX-XXX-XXXX``). 
    627  
    628620``PositiveIntegerField`` 
    629621------------------------