diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-02-03 04:44:00 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-02-03 04:44:00 +0000 |
| commit | c03b5c10917bca31bca0c09d0feb1790fd7c82dd (patch) | |
| tree | 29ba91105290d0ae2b93b99b6285bc3b0fdd6458 | |
| parent | 5a0d7223f55fd062f0613df52b717009bcd2368d (diff) | |
Fixed #6224 -- Small doc fixed for Argentinean localflavor. Thanks, Ramiro
Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/localflavor/ar/forms.py | 6 | ||||
| -rw-r--r-- | docs/localflavor.txt | 19 |
2 files changed, 19 insertions, 6 deletions
diff --git a/django/contrib/localflavor/ar/forms.py b/django/contrib/localflavor/ar/forms.py index 6374a48c92..7827698e77 100644 --- a/django/contrib/localflavor/ar/forms.py +++ b/django/contrib/localflavor/ar/forms.py @@ -20,7 +20,7 @@ class ARProvinceSelect(Select): class ARPostalCodeField(RegexField): """ - A field that accepts a `classic´ NNNN Postal Code or a CPA. + A field that accepts a 'classic' NNNN Postal Code or a CPA. See http://www.correoargentino.com.ar/consulta_cpa/home.php """ @@ -44,7 +44,7 @@ class ARPostalCodeField(RegexField): class ARDNIField(CharField): """ - A field that validates `Documento Nacional de Identidad´ (DNI) numbers. + A field that validates 'Documento Nacional de Identidad' (DNI) numbers. """ default_error_messages = { 'invalid': ugettext("This field requires only numbers."), @@ -73,7 +73,7 @@ class ARDNIField(CharField): class ARCUITField(RegexField): """ - This field validates a CUIT (Código Único de Identificación Tributaria). A + This field validates a CUIT (Código Único de Identificación Tributaria). A CUIT is of the form XX-XXXXXXXX-V. The last digit is a check digit. """ default_error_messages = { diff --git a/docs/localflavor.txt b/docs/localflavor.txt index 75ec95382e..5a2e5b8fda 100644 --- a/docs/localflavor.txt +++ b/docs/localflavor.txt @@ -113,10 +113,23 @@ postal code or a CPA_. .. _CPA: http://www.correoargentino.com.ar/consulta_cpa/home.php +ARDNIField +---------- + +A form field that validates input as a Documento Nacional de Identidad (DNI) +number. + +ARCUITField +----------- + +A form field that validates input as a Código Único de Identificación +Tributaria (CUIT) number. + ARProvinceSelect ---------------- -A ``Select`` widget that uses a list of Argentina's provinces as its choices. +A ``Select`` widget that uses a list of Argentina's provinces and autonomous +cities as its choices. Australia (``django.contrib.localflavor.au``) ============================================= @@ -610,7 +623,7 @@ UKNationSelect A ``Select`` widget that uses a list of UK nations as its choices. -United States of America (``django.contrib.localflavor.us``) +United States of America (``django.contrib.localflavor.us``) ============================================================ USPhoneNumberField @@ -635,7 +648,7 @@ A valid SSN must obey the following rules: USStateField ------------ -A form field that validates input as a U.S. state name or abbreviation. It +A form field that validates input as a U.S. state name or abbreviation. It normalizes the input to the standard two-letter postal service abbreviation for the given state. |
