PageRenderTime 40ms CodeModel.GetById 34ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/django/contrib/localflavor/pe/pe_region.py

https://code.google.com/p/mango-py/
Python | 35 lines | 28 code | 0 blank | 7 comment | 0 complexity | 284b4fd13fe71d37b1581e2e966122fa MD5 | raw file
 1# -*- coding: utf-8 -*-
 2"""
 3A list of Peru regions as `choices` in a formfield.
 4
 5This exists in this standalone file so that it's only imported into memory
 6when explicitly needed.
 7"""
 8
 9REGION_CHOICES = (
10    ('AMA', u'Amazonas'),
11    ('ANC', u'Ancash'),
12    ('APU', u'Apurímac'),
13    ('ARE', u'Arequipa'),
14    ('AYA', u'Ayacucho'),
15    ('CAJ', u'Cajamarca'),
16    ('CAL', u'Callao'),
17    ('CUS', u'Cusco'),
18    ('HUV', u'Huancavelica'),
19    ('HUC', u'Huánuco'),
20    ('ICA', u'Ica'),
21    ('JUN', u'Junín'),
22    ('LAL', u'La Libertad'),
23    ('LAM', u'Lambayeque'),
24    ('LIM', u'Lima'),
25    ('LOR', u'Loreto'),
26    ('MDD', u'Madre de Dios'),
27    ('MOQ', u'Moquegua'),
28    ('PAS', u'Pasco'),
29    ('PIU', u'Piura'),
30    ('PUN', u'Puno'),
31    ('SAM', u'San Martín'),
32    ('TAC', u'Tacna'),
33    ('TUM', u'Tumbes'),
34    ('UCA', u'Ucayali'),
35)