PageRenderTime 121ms CodeModel.GetById 116ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/django/contrib/localflavor/no/no_municipalities.py

https://code.google.com/p/mango-py/
Python | 32 lines | 24 code | 0 blank | 8 comment | 0 complexity | 90dc4570e76fad3b376579834e5b9ca8 MD5 | raw file
 1# -*- coding: utf-8 -*-
 2"""
 3An alphabetical list of Norwegian municipalities (fylker) fro use as `choices`
 4in a formfield.
 5
 6This exists in this standalone file so that it's on ly imported into memory
 7when explicitly needed.
 8"""
 9
10MUNICIPALITY_CHOICES = (
11    ('akershus', u'Akershus'),
12    ('austagder', u'Aust-Agder'),
13    ('buskerud', u'Buskerud'),
14    ('finnmark', u'Finnmark'),
15    ('hedmark', u'Hedmark'),
16    ('hordaland', u'Hordaland'),
17    ('janmayen', u'Jan Mayen'),
18    ('moreogromsdal', u'Mřre og Romsdal'),
19    ('nordtrondelag', u'Nord-Trřndelag'),
20    ('nordland', u'Nordland'),
21    ('oppland', u'Oppland'),
22    ('oslo', u'Oslo'),
23    ('rogaland', u'Rogaland'),
24    ('sognogfjordane', u'Sogn og Fjordane'),
25    ('svalbard', u'Svalbard'),
26    ('sortrondelag', u'Sřr-Trřndelag'),
27    ('telemark', u'Telemark'),
28    ('troms', u'Troms'),
29    ('vestagder', u'Vest-Agder'),
30    ('vestfold', u'Vestfold'),
31    ('ostfold', u'Řstfold')
32)