~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/contrib/localflavor/no/no_municipalities.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant, Eddy Mulyono
  • Date: 2008-09-16 12:18:47 UTC
  • mfrom: (1.1.5 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080916121847-mg225rg5mnsdqzr0
Tags: 1.0-1ubuntu1
* Merge from Debian (LP: #264191), remaining changes:
  - Run test suite on build.

[Eddy Mulyono]
* Update patch to workaround network test case failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
"""
 
3
An alphabetical list of Norwegian municipalities (fylker) fro use as `choices`
 
4
in a formfield.
 
5
 
 
6
This exists in this standalone file so that it's on ly imported into memory
 
7
when explicitly needed.
 
8
"""
 
9
 
 
10
MUNICIPALITY_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
)