PageRenderTime 7ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/django/contrib/localflavor/pe/pe_region.py

https://code.google.com/p/mango-py/
Python | 35 lines | 28 code | 0 blank | 7 comment | 0 complexity | 284b4fd13fe71d37b1581e2e966122fa MD5 | raw file
Possible License(s): BSD-3-Clause
  1. # -*- coding: utf-8 -*-
  2. """
  3. A list of Peru regions as `choices` in a formfield.
  4. This exists in this standalone file so that it's only imported into memory
  5. when explicitly needed.
  6. """
  7. REGION_CHOICES = (
  8. ('AMA', u'Amazonas'),
  9. ('ANC', u'Ancash'),
  10. ('APU', u'Apurímac'),
  11. ('ARE', u'Arequipa'),
  12. ('AYA', u'Ayacucho'),
  13. ('CAJ', u'Cajamarca'),
  14. ('CAL', u'Callao'),
  15. ('CUS', u'Cusco'),
  16. ('HUV', u'Huancavelica'),
  17. ('HUC', u'Huánuco'),
  18. ('ICA', u'Ica'),
  19. ('JUN', u'Junín'),
  20. ('LAL', u'La Libertad'),
  21. ('LAM', u'Lambayeque'),
  22. ('LIM', u'Lima'),
  23. ('LOR', u'Loreto'),
  24. ('MDD', u'Madre de Dios'),
  25. ('MOQ', u'Moquegua'),
  26. ('PAS', u'Pasco'),
  27. ('PIU', u'Piura'),
  28. ('PUN', u'Puno'),
  29. ('SAM', u'San Martín'),
  30. ('TAC', u'Tacna'),
  31. ('TUM', u'Tumbes'),
  32. ('UCA', u'Ucayali'),
  33. )