app/django/contrib/localflavor/no/no_municipalities.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sun, 02 Nov 2008 22:50:22 +0000
changeset 432 1851d67a1004
parent 54 03e267d67478
permissions -rw-r--r--
Add a generic method for getting a Keyname This patch will make logic/key_name.py obsolete in the future when everything is compliant with base.logic. This also makes the naming of already compliant logic modules generic and also fixes the _name field to be consistent with the naming in key_name.py. Note: This does not use Group/Sponsor, Group/School, Group/Organisation or Group/Club. Patch by: "Lennard de Rijk" <rijk0214@gmail.com> Reviewed by: Sverre Rabbelier

# -*- 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')
)