PageRenderTime 76ms CodeModel.GetById 11ms RepoModel.GetById 7ms 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
Possible License(s): BSD-3-Clause
  1. # -*- coding: utf-8 -*-
  2. """
  3. An alphabetical list of Norwegian municipalities (fylker) fro use as `choices`
  4. in a formfield.
  5. This exists in this standalone file so that it's on ly imported into memory
  6. when explicitly needed.
  7. """
  8. MUNICIPALITY_CHOICES = (
  9. ('akershus', u'Akershus'),
  10. ('austagder', u'Aust-Agder'),
  11. ('buskerud', u'Buskerud'),
  12. ('finnmark', u'Finnmark'),
  13. ('hedmark', u'Hedmark'),
  14. ('hordaland', u'Hordaland'),
  15. ('janmayen', u'Jan Mayen'),
  16. ('moreogromsdal', u'Mřre og Romsdal'),
  17. ('nordtrondelag', u'Nord-Trřndelag'),
  18. ('nordland', u'Nordland'),
  19. ('oppland', u'Oppland'),
  20. ('oslo', u'Oslo'),
  21. ('rogaland', u'Rogaland'),
  22. ('sognogfjordane', u'Sogn og Fjordane'),
  23. ('svalbard', u'Svalbard'),
  24. ('sortrondelag', u'Sřr-Trřndelag'),
  25. ('telemark', u'Telemark'),
  26. ('troms', u'Troms'),
  27. ('vestagder', u'Vest-Agder'),
  28. ('vestfold', u'Vestfold'),
  29. ('ostfold', u'Řstfold')
  30. )