Django

Code

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

Revision 5876, 0.9 kB (checked in by mtredinnick, 1 year ago)

Fixed #5111 -- Set svn:eol-style to 'native' on files that didn't have it
already.

  • Property svn:eol-style set to native
Line 
1 # -*- coding: utf-8 -*-
2 """
3 An alphabetical list of Brazilian states for use 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 STATE_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 )
Note: See TracBrowser for help on using the browser.