mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
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 = (
|
||||
'KA', 'Karnataka',
|
||||
'AP', 'Andhra Pradesh',
|
||||
'KL', 'Kerala',
|
||||
'TN', 'Tamil Nadu',
|
||||
'MH', 'Maharashtra',
|
||||
'UP', 'Uttar Pradesh',
|
||||
'GA', 'Goa',
|
||||
'GJ', 'Gujarat',
|
||||
'RJ', 'Rajasthan',
|
||||
'HP', 'Himachal Pradesh',
|
||||
'JK', 'Jammu and Kashmir',
|
||||
'AR', 'Arunachal Pradesh',
|
||||
'AS', 'Assam',
|
||||
'BR', 'Bihar',
|
||||
'CG', 'Chattisgarh',
|
||||
'HR', 'Haryana',
|
||||
'JH', 'Jharkhand',
|
||||
'MP', 'Madhya Pradesh',
|
||||
'MN', 'Manipur',
|
||||
'ML', 'Meghalaya',
|
||||
'MZ', 'Mizoram',
|
||||
'NL', 'Nagaland',
|
||||
'OR', 'Orissa',
|
||||
'PB', 'Punjab',
|
||||
'SK', 'Sikkim',
|
||||
'TR', 'Tripura',
|
||||
'UA', 'Uttarakhand',
|
||||
'WB', 'West Bengal',
|
||||
('KA', 'Karnataka'),
|
||||
('AP', 'Andhra Pradesh'),
|
||||
('KL', 'Kerala'),
|
||||
('TN', 'Tamil Nadu'),
|
||||
('MH', 'Maharashtra'),
|
||||
('UP', 'Uttar Pradesh'),
|
||||
('GA', 'Goa'),
|
||||
('GJ', 'Gujarat'),
|
||||
('RJ', 'Rajasthan'),
|
||||
('HP', 'Himachal Pradesh'),
|
||||
('JK', 'Jammu and Kashmir'),
|
||||
('AR', 'Arunachal Pradesh'),
|
||||
('AS', 'Assam'),
|
||||
('BR', 'Bihar'),
|
||||
('CG', 'Chattisgarh'),
|
||||
('HR', 'Haryana'),
|
||||
('JH', 'Jharkhand'),
|
||||
('MP', 'Madhya Pradesh'),
|
||||
('MN', 'Manipur'),
|
||||
('ML', 'Meghalaya'),
|
||||
('MZ', 'Mizoram'),
|
||||
('NL', 'Nagaland'),
|
||||
('OR', 'Orissa'),
|
||||
('PB', 'Punjab'),
|
||||
('SK', 'Sikkim'),
|
||||
('TR', 'Tripura'),
|
||||
('UA', 'Uttarakhand'),
|
||||
('WB', 'West Bengal'),
|
||||
|
||||
# Union Territories
|
||||
'AN', 'Andaman and Nicobar',
|
||||
'CH', 'Chandigarh',
|
||||
'DN', 'Dadra and Nagar Haveli',
|
||||
'DD', 'Daman and Diu',
|
||||
'DL', 'Delhi',
|
||||
'LD', 'Lakshadweep',
|
||||
'PY', 'Pondicherry',
|
||||
('AN', 'Andaman and Nicobar'),
|
||||
('CH', 'Chandigarh'),
|
||||
('DN', 'Dadra and Nagar Haveli'),
|
||||
('DD', 'Daman and Diu'),
|
||||
('DL', 'Delhi'),
|
||||
('LD', 'Lakshadweep'),
|
||||
('PY', 'Pondicherry'),
|
||||
)
|
||||
|
||||
STATES_NORMALIZED = {
|
||||
|
Loading…
Reference in New Issue
Block a user