Peru (pe
)¶
Forms¶
PE-specific Form helpers.
-
class
localflavor.pe.forms.
PEDNIField
(max_length=8, min_length=8, *args, **kwargs)[source]¶ A field that validates Documento Nacional de Identidad (DNI) numbers.
Data¶
-
localflavor.pe.pe_region.
REGION_CHOICES
= ((u’AMA’, u’Amazonas’), (u’ANC’, u’Ancash’), (u’APU’, u’Apur\xedmac’), (u’ARE’, u’Arequipa’), (u’AYA’, u’Ayacucho’), (u’CAJ’, u’Cajamarca’), (u’CAL’, u’Callao’), (u’CUS’, u’Cusco’), (u’HUV’, u’Huancavelica’), (u’HUC’, u’Hu\xe1nuco’), (u’ICA’, u’Ica’), (u’JUN’, u’Jun\xedn’), (u’LAL’, u’La Libertad’), (u’LAM’, u’Lambayeque’), (u’LIM’, u’Lima’), (u’LOR’, u’Loreto’), (u’MDD’, u’Madre de Dios’), (u’MOQ’, u’Moquegua’), (u’PAS’, u’Pasco’), (u’PIU’, u’Piura’), (u’PUN’, u’Puno’), (u’SAM’, u’San Mart\xedn’), (u’TAC’, u’Tacna’), (u’TUM’, u’Tumbes’), (u’UCA’, u’Ucayali’))¶ A list of Peru regions as choices in a formfield.