Django

Code

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

Revision 5876, 449 bytes (checked in by mtredinnick, 1 year ago)

Fixed #5111 -- Set svn:eol-style to 'native' on files that didn't have it
already.

  • Property svn:eol-style set to native
Line 
1 """
2 An alphabetical list of states for use as `choices` in a formfield.
3
4 This exists in this standalone file so that it's only imported into memory
5 when explicitly needed.
6 """
7
8 STATE_CHOICES = (
9     ('ACT', 'Australian Capital Territory'),
10     ('NSW', 'New South Wales'),
11     ('NT', 'Northern Territory'),
12     ('QLD', 'Queensland'),
13     ('SA', 'South Australia'),
14     ('TAS', 'Tasmania'),
15     ('VIC', 'Victoria'),
16     ('WA', 'Western Australia'),
17 )
Note: See TracBrowser for help on using the browser.