app/django/contrib/localflavor/ar/ar_provinces.py
author Daniel Bentley <dbentley@google.com>
Sun, 12 Apr 2009 06:21:15 +0000
changeset 2166 c9c7c6111988
parent 54 03e267d67478
permissions -rw-r--r--
Last step of refactoring before adding support for > 1000 entities. Make helper functions. One extracts list parameters. One creates links more simply. This is cleaning up the large function body so I can move stuff around more radically. Patch by: Dan Bentley

# -*- coding: utf-8 -*-
"""
A list of Argentinean provinces and autonomous cities as `choices` in a
formfield. From
http://www.argentina.gov.ar/argentina/portal/paginas.dhtml?pagina=425

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

PROVINCE_CHOICES = (
    ('B', u'Buenos Aires'),
    ('K', u'Catamarca'),
    ('H', u'Chaco'),
    ('U', u'Chubut'),
    ('C', u'Ciudad Autónoma de Buenos Aires'),
    ('X', u'Córdoba'),
    ('W', u'Corrientes'),
    ('E', u'Entre Ríos'),
    ('P', u'Formosa'),
    ('Y', u'Jujuy'),
    ('L', u'La Pampa'),
    ('F', u'La Rioja'),
    ('M', u'Mendoza'),
    ('N', u'Misiones'),
    ('Q', u'Neuquén'),
    ('R', u'Río Negro'),
    ('A', u'Salta'),
    ('J', u'San Juan'),
    ('D', u'San Luis'),
    ('Z', u'Santa Cruz'),
    ('S', u'Santa Fe'),
    ('G', u'Santiago del Estero'),
    ('V', u'Tierra del Fuego, Antártida e Islas del Atlántico Sur'),
    ('T', u'Tucumán'),
)