PageRenderTime 283ms CodeModel.GetById 161ms app.highlight 4ms RepoModel.GetById 116ms app.codeStats 1ms

/django/contrib/localflavor/br/br_states.py

https://code.google.com/p/mango-py/
Python | 37 lines | 30 code | 0 blank | 7 comment | 0 complexity | 5534c89d1697271531079f7188c1c0f4 MD5 | raw file
 1# -*- coding: utf-8 -*-
 2"""
 3An alphabetical list of Brazilian states for use 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
 9STATE_CHOICES = (
10    ('AC', 'Acre'),
11    ('AL', 'Alagoas'),
12    ('AP', u'Amapá'),
13    ('AM', 'Amazonas'),
14    ('BA', 'Bahia'),
15    ('CE', u'Ceará'),
16    ('DF', 'Distrito Federal'),
17    ('ES', u'Espírito Santo'),
18    ('GO', u'Goiás'),
19    ('MA', u'Maranhăo'),
20    ('MT', 'Mato Grosso'),
21    ('MS', 'Mato Grosso do Sul'),
22    ('MG', 'Minas Gerais'),
23    ('PA', u'Pará'),
24    ('PB', u'Paraíba'),
25    ('PR', u'Paraná'),
26    ('PE', 'Pernambuco'),
27    ('PI', u'Piauí'),
28    ('RJ', 'Rio de Janeiro'),
29    ('RN', 'Rio Grande do Norte'),
30    ('RS', 'Rio Grande do Sul'),
31    ('RO', u'Rondônia'),
32    ('RR', 'Roraima'),
33    ('SC', 'Santa Catarina'),
34    ('SP', u'Săo Paulo'),
35    ('SE', 'Sergipe'),
36    ('TO', 'Tocantins'),
37)