summaryrefslogtreecommitdiffstats
path: root/webapp/django/contrib/localflavor/br/br_states.py
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/django/contrib/localflavor/br/br_states.py')
-rw-r--r--webapp/django/contrib/localflavor/br/br_states.py37
1 files changed, 37 insertions, 0 deletions
diff --git a/webapp/django/contrib/localflavor/br/br_states.py b/webapp/django/contrib/localflavor/br/br_states.py
new file mode 100644
index 0000000000..98e54bca2c
--- /dev/null
+++ b/webapp/django/contrib/localflavor/br/br_states.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+"""
+An alphabetical list of Brazilian 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.
+"""
+
+STATE_CHOICES = (
+ ('AC', 'Acre'),
+ ('AL', 'Alagoas'),
+ ('AP', u'Amapá'),
+ ('AM', 'Amazonas'),
+ ('BA', 'Bahia'),
+ ('CE', u'Ceará'),
+ ('DF', 'Distrito Federal'),
+ ('ES', u'Espírito Santo'),
+ ('GO', u'Goiás'),
+ ('MA', u'Maranhão'),
+ ('MT', 'Mato Grosso'),
+ ('MS', 'Mato Grosso do Sul'),
+ ('MG', 'Minas Gerais'),
+ ('PA', u'Pará'),
+ ('PB', u'Paraíba'),
+ ('PR', u'Paraná'),
+ ('PE', 'Pernambuco'),
+ ('PI', u'Piauí'),
+ ('RJ', 'Rio de Janeiro'),
+ ('RN', 'Rio Grande do Norte'),
+ ('RS', 'Rio Grande do Sul'),
+ ('RO', u'Rondônia'),
+ ('RR', 'Roraima'),
+ ('SC', 'Santa Catarina'),
+ ('SP', u'São Paulo'),
+ ('SE', 'Sergipe'),
+ ('TO', 'Tocantins'),
+)