summaryrefslogtreecommitdiffstats
path: root/webapp/django/contrib/localflavor/no/no_municipalities.py
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/django/contrib/localflavor/no/no_municipalities.py')
-rw-r--r--webapp/django/contrib/localflavor/no/no_municipalities.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/webapp/django/contrib/localflavor/no/no_municipalities.py b/webapp/django/contrib/localflavor/no/no_municipalities.py
new file mode 100644
index 0000000000..d6bacda275
--- /dev/null
+++ b/webapp/django/contrib/localflavor/no/no_municipalities.py
@@ -0,0 +1,32 @@
+# -*- coding: utf-8 -*-
+"""
+An alphabetical list of Norwegian municipalities (fylker) fro use as `choices`
+in a formfield.
+
+This exists in this standalone file so that it's on ly imported into memory
+when explicitly needed.
+"""
+
+MUNICIPALITY_CHOICES = (
+ ('akershus', u'Akershus'),
+ ('austagder', u'Aust-Agder'),
+ ('buskerud', u'Buskerud'),
+ ('finnmark', u'Finnmark'),
+ ('hedmark', u'Hedmark'),
+ ('hordaland', u'Hordaland'),
+ ('janmayen', u'Jan Mayen'),
+ ('moreogromsdal', u'Møre og Romsdal'),
+ ('nordtrondelag', u'Nord-Trøndelag'),
+ ('nordland', u'Nordland'),
+ ('oppland', u'Oppland'),
+ ('oslo', u'Oslo'),
+ ('rogaland', u'Rogaland'),
+ ('sognogfjordane', u'Sogn og Fjordane'),
+ ('svalbard', u'Svalbard'),
+ ('sortrondelag', u'Sør-Trøndelag'),
+ ('telemark', u'Telemark'),
+ ('troms', u'Troms'),
+ ('vestagder', u'Vest-Agder'),
+ ('vestfold', u'Vestfold'),
+ ('ostfold', u'Østfold')
+)