PageRenderTime 104ms CodeModel.GetById 26ms RepoModel.GetById 3ms app.codeStats 0ms

/django/contrib/localflavor/se/se_counties.py

https://code.google.com/p/mango-py/
Python | 36 lines | 24 code | 1 blank | 11 comment | 0 complexity | 248dc2120d1b54c07008a51989b097c2 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. # -*- coding: utf-8 -*-
  2. """
  3. An alphabetical list of Swedish counties, sorted by codes.
  4. http://en.wikipedia.org/wiki/Counties_of_Sweden
  5. This exists in this standalone file so that it's only imported into memory
  6. when explicitly needed.
  7. """
  8. from django.utils.translation import ugettext_lazy as _
  9. COUNTY_CHOICES = (
  10. ('AB', _(u'Stockholm')),
  11. ('AC', _(u'Västerbotten')),
  12. ('BD', _(u'Norrbotten')),
  13. ('C', _(u'Uppsala')),
  14. ('D', _(u'Södermanland')),
  15. ('E', _(u'Östergötland')),
  16. ('F', _(u'Jönköping')),
  17. ('G', _(u'Kronoberg')),
  18. ('H', _(u'Kalmar')),
  19. ('I', _(u'Gotland')),
  20. ('K', _(u'Blekinge')),
  21. ('M', _(u'Skĺne')),
  22. ('N', _(u'Halland')),
  23. ('O', _(u'Västra Götaland')),
  24. ('S', _(u'Värmland')),
  25. ('T', _(u'Örebro')),
  26. ('U', _(u'Västmanland')),
  27. ('W', _(u'Dalarna')),
  28. ('X', _(u'Gävleborg')),
  29. ('Y', _(u'Västernorrland')),
  30. ('Z', _(u'Jämtland')),
  31. )