Fixed #14166 -- Modified the list of state choices in the Indian localflavor to be a list of tuples, not just a list of values. Thanks to gogna for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
72a7167439
commit
80dd2edabb
|
@ -7,43 +7,43 @@ when explicitly needed.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
STATE_CHOICES = (
|
STATE_CHOICES = (
|
||||||
'KA', 'Karnataka',
|
('KA', 'Karnataka'),
|
||||||
'AP', 'Andhra Pradesh',
|
('AP', 'Andhra Pradesh'),
|
||||||
'KL', 'Kerala',
|
('KL', 'Kerala'),
|
||||||
'TN', 'Tamil Nadu',
|
('TN', 'Tamil Nadu'),
|
||||||
'MH', 'Maharashtra',
|
('MH', 'Maharashtra'),
|
||||||
'UP', 'Uttar Pradesh',
|
('UP', 'Uttar Pradesh'),
|
||||||
'GA', 'Goa',
|
('GA', 'Goa'),
|
||||||
'GJ', 'Gujarat',
|
('GJ', 'Gujarat'),
|
||||||
'RJ', 'Rajasthan',
|
('RJ', 'Rajasthan'),
|
||||||
'HP', 'Himachal Pradesh',
|
('HP', 'Himachal Pradesh'),
|
||||||
'JK', 'Jammu and Kashmir',
|
('JK', 'Jammu and Kashmir'),
|
||||||
'AR', 'Arunachal Pradesh',
|
('AR', 'Arunachal Pradesh'),
|
||||||
'AS', 'Assam',
|
('AS', 'Assam'),
|
||||||
'BR', 'Bihar',
|
('BR', 'Bihar'),
|
||||||
'CG', 'Chattisgarh',
|
('CG', 'Chattisgarh'),
|
||||||
'HR', 'Haryana',
|
('HR', 'Haryana'),
|
||||||
'JH', 'Jharkhand',
|
('JH', 'Jharkhand'),
|
||||||
'MP', 'Madhya Pradesh',
|
('MP', 'Madhya Pradesh'),
|
||||||
'MN', 'Manipur',
|
('MN', 'Manipur'),
|
||||||
'ML', 'Meghalaya',
|
('ML', 'Meghalaya'),
|
||||||
'MZ', 'Mizoram',
|
('MZ', 'Mizoram'),
|
||||||
'NL', 'Nagaland',
|
('NL', 'Nagaland'),
|
||||||
'OR', 'Orissa',
|
('OR', 'Orissa'),
|
||||||
'PB', 'Punjab',
|
('PB', 'Punjab'),
|
||||||
'SK', 'Sikkim',
|
('SK', 'Sikkim'),
|
||||||
'TR', 'Tripura',
|
('TR', 'Tripura'),
|
||||||
'UA', 'Uttarakhand',
|
('UA', 'Uttarakhand'),
|
||||||
'WB', 'West Bengal',
|
('WB', 'West Bengal'),
|
||||||
|
|
||||||
# Union Territories
|
# Union Territories
|
||||||
'AN', 'Andaman and Nicobar',
|
('AN', 'Andaman and Nicobar'),
|
||||||
'CH', 'Chandigarh',
|
('CH', 'Chandigarh'),
|
||||||
'DN', 'Dadra and Nagar Haveli',
|
('DN', 'Dadra and Nagar Haveli'),
|
||||||
'DD', 'Daman and Diu',
|
('DD', 'Daman and Diu'),
|
||||||
'DL', 'Delhi',
|
('DL', 'Delhi'),
|
||||||
'LD', 'Lakshadweep',
|
('LD', 'Lakshadweep'),
|
||||||
'PY', 'Pondicherry',
|
('PY', 'Pondicherry'),
|
||||||
)
|
)
|
||||||
|
|
||||||
STATES_NORMALIZED = {
|
STATES_NORMALIZED = {
|
||||||
|
|
Loading…
Reference in New Issue