PageRenderTime 696ms CodeModel.GetById 84ms RepoModel.GetById 31ms 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
Possible License(s): BSD-3-Clause
  1. # -*- coding: utf-8 -*
  2. from django.utils.translation import ugettext_lazy as _
  3. STATE_CHOICES = (
  4. ('AG', _('Aargau')),
  5. ('AI', _('Appenzell Innerrhoden')),
  6. ('AR', _('Appenzell Ausserrhoden')),
  7. ('BS', _('Basel-Stadt')),
  8. ('BL', _('Basel-Land')),
  9. ('BE', _('Berne')),
  10. ('FR', _('Fribourg')),
  11. ('GE', _('Geneva')),
  12. ('GL', _('Glarus')),
  13. ('GR', _('Graubuenden')),
  14. ('JU', _('Jura')),
  15. ('LU', _('Lucerne')),
  16. ('NE', _('Neuchatel')),
  17. ('NW', _('Nidwalden')),
  18. ('OW', _('Obwalden')),
  19. ('SH', _('Schaffhausen')),
  20. ('SZ', _('Schwyz')),
  21. ('SO', _('Solothurn')),
  22. ('SG', _('St. Gallen')),
  23. ('TG', _('Thurgau')),
  24. ('TI', _('Ticino')),
  25. ('UR', _('Uri')),
  26. ('VS', _('Valais')),
  27. ('VD', _('Vaud')),
  28. ('ZG', _('Zug')),
  29. ('ZH', _('Zurich'))
  30. )