Django

Code

Changeset 7077

Show
Ignore:
Timestamp:
02/02/08 22:44:00 (8 months ago)
Author:
mtredinnick
Message:

Fixed #6224 -- Small doc fixed for Argentinean localflavor. Thanks, Ramiro
Morales.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/localflavor/ar/forms.py

    r6926 r7077  
    2121class ARPostalCodeField(RegexField): 
    2222    """ 
    23     A field that accepts a `classic� NNNN Postal Code or a CPA. 
     23    A field that accepts a 'classic' NNNN Postal Code or a CPA. 
    2424 
    2525    See http://www.correoargentino.com.ar/consulta_cpa/home.php 
     
    4545class ARDNIField(CharField): 
    4646    """ 
    47     A field that validates `Documento Nacional de Identidad� (DNI) numbers. 
     47    A field that validates 'Documento Nacional de Identidad' (DNI) numbers. 
    4848    """ 
    4949    default_error_messages = { 
     
    7474class ARCUITField(RegexField): 
    7575    """ 
    76     This field validates a CUIT (C�o �ico de Identificaci�ributaria). A 
     76    This field validates a CUIT (Código Único de Identificación Tributaria). A 
    7777    CUIT is of the form XX-XXXXXXXX-V. The last digit is a check digit. 
    7878    """ 
  • django/trunk/docs/localflavor.txt

    r7005 r7077  
    114114.. _CPA: http://www.correoargentino.com.ar/consulta_cpa/home.php 
    115115 
     116ARDNIField 
     117---------- 
     118 
     119A form field that validates input as a Documento Nacional de Identidad (DNI) 
     120number. 
     121 
     122ARCUITField 
     123----------- 
     124 
     125A form field that validates input as a Código Único de Identificación 
     126Tributaria (CUIT) number. 
     127 
    116128ARProvinceSelect 
    117129---------------- 
    118130 
    119 A ``Select`` widget that uses a list of Argentina's provinces as its choices. 
     131A ``Select`` widget that uses a list of Argentina's provinces and autonomous 
     132cities as its choices. 
    120133 
    121134Australia (``django.contrib.localflavor.au``) 
     
    611624A ``Select`` widget that uses a list of UK nations as its choices. 
    612625 
    613 United States of America (``django.contrib.localflavor.us``)  
     626United States of America (``django.contrib.localflavor.us``) 
    614627============================================================ 
    615628 
     
    636649------------ 
    637650 
    638 A form field that validates input as a U.S. state name or abbreviation. It  
     651A form field that validates input as a U.S. state name or abbreviation. It 
    639652normalizes the input to the standard two-letter postal service abbreviation 
    640653for the given state.