47 lines
1.3 KiB
Python
47 lines
1.3 KiB
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
A list of Mexican states for use as `choices` in a formfield.
|
|
|
|
This exists in this standalone file so that it's only imported into memory
|
|
when explicitly needed.
|
|
"""
|
|
from __future__ import unicode_literals
|
|
|
|
from django.utils.translation import ugettext_lazy as _
|
|
|
|
# All 31 states, plus the `Distrito Federal`.
|
|
STATE_CHOICES = (
|
|
('AGU', _('Aguascalientes')),
|
|
('BCN', _('Baja California')),
|
|
('BCS', _('Baja California Sur')),
|
|
('CAM', _('Campeche')),
|
|
('CHH', _('Chihuahua')),
|
|
('CHP', _('Chiapas')),
|
|
('COA', _('Coahuila')),
|
|
('COL', _('Colima')),
|
|
('DIF', _('Distrito Federal')),
|
|
('DUR', _('Durango')),
|
|
('GRO', _('Guerrero')),
|
|
('GUA', _('Guanajuato')),
|
|
('HID', _('Hidalgo')),
|
|
('JAL', _('Jalisco')),
|
|
('MEX', _('Estado de México')),
|
|
('MIC', _('Michoacán')),
|
|
('MOR', _('Morelos')),
|
|
('NAY', _('Nayarit')),
|
|
('NLE', _('Nuevo León')),
|
|
('OAX', _('Oaxaca')),
|
|
('PUE', _('Puebla')),
|
|
('QUE', _('Querétaro')),
|
|
('ROO', _('Quintana Roo')),
|
|
('SIN', _('Sinaloa')),
|
|
('SLP', _('San Luis Potosí')),
|
|
('SON', _('Sonora')),
|
|
('TAB', _('Tabasco')),
|
|
('TAM', _('Tamaulipas')),
|
|
('TLA', _('Tlaxcala')),
|
|
('VER', _('Veracruz')),
|
|
('YUC', _('Yucatán')),
|
|
('ZAC', _('Zacatecas')),
|
|
)
|