~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/contrib/localflavor/pe/pe_region.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant, Eddy Mulyono
  • Date: 2008-09-16 12:18:47 UTC
  • mfrom: (1.1.5 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080916121847-mg225rg5mnsdqzr0
Tags: 1.0-1ubuntu1
* Merge from Debian (LP: #264191), remaining changes:
  - Run test suite on build.

[Eddy Mulyono]
* Update patch to workaround network test case failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
"""
 
3
A list of Peru regions as `choices` in a formfield.
 
4
 
 
5
This exists in this standalone file so that it's only imported into memory
 
6
when explicitly needed.
 
7
"""
 
8
 
 
9
REGION_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
)