Argentina (ar)¶
AR-specific Form helpers.
-
class
localflavor.ar.forms.ARCUITField(max_length=None, min_length=None, *args, **kwargs)[source]¶ 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.
More info: http://es.wikipedia.org/wiki/Clave_%C3%9Anica_de_Identificaci%C3%B3n_Tributaria
English info: http://www.justlanded.com/english/Argentina/Argentina-Guide/Visas-Permits/Other-Legal-Documents
-
class
localflavor.ar.forms.ARDNIField(max_length=10, min_length=7, *args, **kwargs)[source]¶ A field that validates ‘Documento Nacional de Identidad’ (DNI) numbers.
-
class
localflavor.ar.forms.ARPostalCodeField(max_length=8, min_length=4, *args, **kwargs)[source]¶ A field that accepts a ‘classic’ NNNN Postal Code or a CPA.
-
class
localflavor.ar.forms.ARProvinceSelect(attrs=None)[source]¶ A Select widget that uses a list of Argentinean provinces/autonomous cities as its choices.
-
localflavor.ar.ar_provinces.PROVINCE_CHOICES= ((u'B', <django.utils.functional.__proxy__ object at 0x7f1e9decc7d0>), (u'K', <django.utils.functional.__proxy__ object at 0x7f1e9decc9d0>), (u'H', <django.utils.functional.__proxy__ object at 0x7f1e9decc990>), (u'U', <django.utils.functional.__proxy__ object at 0x7f1e9decc950>), (u'C', <django.utils.functional.__proxy__ object at 0x7f1e9deccf90>), (u'X', <django.utils.functional.__proxy__ object at 0x7f1e9deccf50>), (u'W', <django.utils.functional.__proxy__ object at 0x7f1e9decc810>), (u'E', <django.utils.functional.__proxy__ object at 0x7f1e9decced0>), (u'P', <django.utils.functional.__proxy__ object at 0x7f1e9deef050>), (u'Y', <django.utils.functional.__proxy__ object at 0x7f1e9deef0d0>), (u'L', <django.utils.functional.__proxy__ object at 0x7f1e9deef150>), (u'F', <django.utils.functional.__proxy__ object at 0x7f1e9deef1d0>), (u'M', <django.utils.functional.__proxy__ object at 0x7f1e9deef250>), (u'N', <django.utils.functional.__proxy__ object at 0x7f1e9deef2d0>), (u'Q', <django.utils.functional.__proxy__ object at 0x7f1e9deef350>), (u'R', <django.utils.functional.__proxy__ object at 0x7f1e9deef3d0>), (u'A', <django.utils.functional.__proxy__ object at 0x7f1e9deef450>), (u'J', <django.utils.functional.__proxy__ object at 0x7f1e9deef4d0>), (u'D', <django.utils.functional.__proxy__ object at 0x7f1e9deef550>), (u'Z', <django.utils.functional.__proxy__ object at 0x7f1e9deef5d0>), (u'S', <django.utils.functional.__proxy__ object at 0x7f1e9deef650>), (u'G', <django.utils.functional.__proxy__ object at 0x7f1e9deef6d0>), (u'V', <django.utils.functional.__proxy__ object at 0x7f1e9deef750>), (u'T', <django.utils.functional.__proxy__ object at 0x7f1e9deef7d0>))¶ A list of Argentinean provinces and autonomous cities as choices in a formfield. From http://www.argentina.gov.ar/argentina/portal/paginas.dhtml?pagina=425