PageRenderTime 102ms CodeModel.GetById 41ms app.highlight 4ms RepoModel.GetById 36ms app.codeStats 0ms

/django/contrib/localflavor/ch/ch_states.py

https://code.google.com/p/mango-py/
Python | 31 lines | 29 code | 1 blank | 1 comment | 0 complexity | 54f76468fd80208e906bf45a98d92d88 MD5 | raw file
 1# -*- coding: utf-8 -*
 2from django.utils.translation import ugettext_lazy as _
 3
 4STATE_CHOICES = (
 5    ('AG', _('Aargau')),
 6    ('AI', _('Appenzell Innerrhoden')),
 7    ('AR', _('Appenzell Ausserrhoden')),
 8    ('BS', _('Basel-Stadt')),
 9    ('BL', _('Basel-Land')),
10    ('BE', _('Berne')),
11    ('FR', _('Fribourg')),
12    ('GE', _('Geneva')),
13    ('GL', _('Glarus')),
14    ('GR', _('Graubuenden')),
15    ('JU', _('Jura')),
16    ('LU', _('Lucerne')),
17    ('NE', _('Neuchatel')),
18    ('NW', _('Nidwalden')),
19    ('OW', _('Obwalden')),
20    ('SH', _('Schaffhausen')),
21    ('SZ', _('Schwyz')),
22    ('SO', _('Solothurn')),
23    ('SG', _('St. Gallen')),
24    ('TG', _('Thurgau')),
25    ('TI', _('Ticino')),
26    ('UR', _('Uri')),
27    ('VS', _('Valais')),
28    ('VD', _('Vaud')),
29    ('ZG', _('Zug')),
30    ('ZH', _('Zurich'))
31)