/django/contrib/localflavor/au/au_states.py

https://code.google.com/p/mango-py/ · Python · 17 lines · 11 code · 0 blank · 6 comment · 0 complexity · 7e1094597114badcb927c7881454a640 MD5 · raw file

  1. """
  2. An alphabetical list of states for use as `choices` in a formfield.
  3. This exists in this standalone file so that it's only imported into memory
  4. when explicitly needed.
  5. """
  6. STATE_CHOICES = (
  7. ('ACT', 'Australian Capital Territory'),
  8. ('NSW', 'New South Wales'),
  9. ('NT', 'Northern Territory'),
  10. ('QLD', 'Queensland'),
  11. ('SA', 'South Australia'),
  12. ('TAS', 'Tasmania'),
  13. ('VIC', 'Victoria'),
  14. ('WA', 'Western Australia'),
  15. )