Ticket #6224: ar_lf_fixes-r6941.diff
| File ar_lf_fixes-r6941.diff, 2.6 kB (added by ramiro, 1 year ago) |
|---|
-
a/django/contrib/localflavor/ar/forms.py
old new 20 20 21 21 class ARPostalCodeField(RegexField): 22 22 """ 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. 24 24 25 25 See http://www.correoargentino.com.ar/consulta_cpa/home.php 26 26 """ … … 44 44 45 45 class ARDNIField(CharField): 46 46 """ 47 A field that validates `Documento Nacional de Identidad �(DNI) numbers.47 A field that validates `Documento Nacional de Identidad´ (DNI) numbers. 48 48 """ 49 49 default_error_messages = { 50 50 'invalid': ugettext("This field requires only numbers."), … … 73 73 74 74 class ARCUITField(RegexField): 75 75 """ 76 This field validates a CUIT (C �o �ico de Identificaci�ributaria). A76 This field validates a CUIT (Código Único de Identificación Tributaria). A 77 77 CUIT is of the form XX-XXXXXXXX-V. The last digit is a check digit. 78 78 """ 79 79 default_error_messages = { -
a/docs/localflavor.txt
old new 103 103 104 104 .. _CPA: http://www.correoargentino.com.ar/consulta_cpa/home.php 105 105 106 ARDNIField 107 ---------- 108 109 A form field that validates input as a Documento Nacional de Identidad (DNI) 110 number. 111 112 ARCUITField 113 ----------- 114 115 A form field that validates input as a Código Único de Identificación 116 Tributaria (CUIT) number. 117 106 118 ARProvinceSelect 107 119 ---------------- 108 120 109 A ``Select`` widget that uses a list of Argentina's provinces as its choices. 121 A ``Select`` widget that uses a list of Argentina's provinces and autonomous 122 city as its choices. 110 123 111 124 112 125 Australia (``django.contrib.localflavor.au``) … … 622 635 A ``Select`` widget that uses a list of UK nations as its choices. 623 636 624 637 625 United States of America (``django.contrib.localflavor.us``) 638 United States of America (``django.contrib.localflavor.us``) 626 639 ============================================================ 627 640 628 641 USPhoneNumberField … … 647 660 USStateField 648 661 ------------ 649 662 650 A form field that validates input as a U.S. state name or abbreviation. It 663 A form field that validates input as a U.S. state name or abbreviation. It 651 664 normalizes the input to the standard two-letter postal service abbreviation 652 665 for the given state. 653 666
