app/django/contrib/localflavor/pe/pe_region.py
author Sverre Rabbelier <srabbelier@gmail.com>
Tue, 02 Dec 2008 22:03:46 +0000
changeset 651 ef6e22d463cb
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Remove the logic parameter from getListContent Now that params always has a 'logic' attribute, we can use that instead of requiring that it is passed as argument. Patch by: Sverre Rabbelier

# -*- 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'),
)