app/django/contrib/localflavor/pe/pe_region.py
author Lennard de Rijk <ljvderijk@gmail.com>
Fri, 13 Mar 2009 13:26:03 +0000
changeset 1828 3db2a7be7239
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Changed the edit template to show a Submit button instead of Save Changes when "creating" an entity. This is because Save Changes confuses people, it has the tendency to imply a partial save. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed

# -*- coding: utf-8 -*-
"""
A list of Peru regions as `choices` in a formfield.

This exists in this standalone file so that it's only imported into memory
when explicitly needed.
"""

REGION_CHOICES = (
    ('AMA', u'Amazonas'),
    ('ANC', u'Ancash'),
    ('APU', u'Apurímac'),
    ('ARE', u'Arequipa'),
    ('AYA', u'Ayacucho'),
    ('CAJ', u'Cajamarca'),
    ('CAL', u'Callao'),
    ('CUS', u'Cusco'),
    ('HUV', u'Huancavelica'),
    ('HUC', u'Huánuco'),
    ('ICA', u'Ica'),
    ('JUN', u'Junín'),
    ('LAL', u'La Libertad'),
    ('LAM', u'Lambayeque'),
    ('LIM', u'Lima'),
    ('LOR', u'Loreto'),
    ('MDD', u'Madre de Dios'),
    ('MOQ', u'Moquegua'),
    ('PAS', u'Pasco'),
    ('PIU', u'Piura'),
    ('PUN', u'Puno'),
    ('SAM', u'San Martín'),
    ('TAC', u'Tacna'),
    ('TUM', u'Tumbes'),
    ('UCA', u'Ucayali'),
)