PageRenderTime 202ms CodeModel.GetById 121ms app.highlight 4ms RepoModel.GetById 76ms 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
 1# -*- coding: utf-8 -*-
 2"""
 3An alphabetical list of Swedish counties, sorted by codes.
 4
 5http://en.wikipedia.org/wiki/Counties_of_Sweden
 6
 7This exists in this standalone file so that it's only imported into memory
 8when explicitly needed.
 9
10"""
11
12from django.utils.translation import ugettext_lazy as _
13
14COUNTY_CHOICES = (
15    ('AB', _(u'Stockholm')),
16    ('AC', _(u'Västerbotten')),
17    ('BD', _(u'Norrbotten')),
18    ('C', _(u'Uppsala')),
19    ('D', _(u'Södermanland')),
20    ('E', _(u'Östergötland')),
21    ('F', _(u'Jönköping')),
22    ('G', _(u'Kronoberg')),
23    ('H', _(u'Kalmar')),
24    ('I', _(u'Gotland')),
25    ('K', _(u'Blekinge')),
26    ('M', _(u'Skĺne')),
27    ('N', _(u'Halland')),
28    ('O', _(u'Västra Götaland')),
29    ('S', _(u'Värmland')),
30    ('T', _(u'Örebro')),
31    ('U', _(u'Västmanland')),
32    ('W', _(u'Dalarna')),
33    ('X', _(u'Gävleborg')),
34    ('Y', _(u'Västernorrland')),
35    ('Z', _(u'Jämtland')),
36)