~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/contrib/localflavor/in_/in_states.py

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (1.1.12 upstream) (29.1.1 maverick-security)
  • Revision ID: james.westby@ubuntu.com-20101012113435-yy57c8tx6g9anf3e
Tags: 1.2.3-1ubuntu0.1
* SECURITY UPDATE: XSS in CSRF protections. New upstream release
  - CVE-2010-3082
* debian/patches/01_disable_url_verify_regression_tests.diff:
  - updated to disable another test that fails without internet connection
  - patch based on work by Kai Kasurinen and Krzysztof Klimonda
* debian/control: don't Build-Depends on locales-all, which doesn't exist
  in maverick

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
"""
8
8
 
9
9
STATE_CHOICES = (
10
 
    'KA', 'Karnataka',
11
 
    'AP', 'Andhra Pradesh',
12
 
    'KL', 'Kerala',
13
 
    'TN', 'Tamil Nadu',
14
 
    'MH', 'Maharashtra',
15
 
    'UP', 'Uttar Pradesh',
16
 
    'GA', 'Goa',
17
 
    'GJ', 'Gujarat',
18
 
    'RJ', 'Rajasthan',
19
 
    'HP', 'Himachal Pradesh',
20
 
    'JK', 'Jammu and Kashmir',
21
 
    'AR', 'Arunachal Pradesh',
22
 
    'AS', 'Assam',
23
 
    'BR', 'Bihar',
24
 
    'CG', 'Chattisgarh',
25
 
    'HR', 'Haryana',
26
 
    'JH', 'Jharkhand',
27
 
    'MP', 'Madhya Pradesh',
28
 
    'MN', 'Manipur',
29
 
    'ML', 'Meghalaya',
30
 
    'MZ', 'Mizoram',
31
 
    'NL', 'Nagaland',
32
 
    'OR', 'Orissa',
33
 
    'PB', 'Punjab',
34
 
    'SK', 'Sikkim',
35
 
    'TR', 'Tripura',
36
 
    'UA', 'Uttarakhand',
37
 
    'WB', 'West Bengal',
 
10
    ('KA', 'Karnataka'),
 
11
    ('AP', 'Andhra Pradesh'),
 
12
    ('KL', 'Kerala'),
 
13
    ('TN', 'Tamil Nadu'),
 
14
    ('MH', 'Maharashtra'),
 
15
    ('UP', 'Uttar Pradesh'),
 
16
    ('GA', 'Goa'),
 
17
    ('GJ', 'Gujarat'),
 
18
    ('RJ', 'Rajasthan'),
 
19
    ('HP', 'Himachal Pradesh'),
 
20
    ('JK', 'Jammu and Kashmir'),
 
21
    ('AR', 'Arunachal Pradesh'),
 
22
    ('AS', 'Assam'),
 
23
    ('BR', 'Bihar'),
 
24
    ('CG', 'Chattisgarh'),
 
25
    ('HR', 'Haryana'),
 
26
    ('JH', 'Jharkhand'),
 
27
    ('MP', 'Madhya Pradesh'),
 
28
    ('MN', 'Manipur'),
 
29
    ('ML', 'Meghalaya'),
 
30
    ('MZ', 'Mizoram'),
 
31
    ('NL', 'Nagaland'),
 
32
    ('OR', 'Orissa'),
 
33
    ('PB', 'Punjab'),
 
34
    ('SK', 'Sikkim'),
 
35
    ('TR', 'Tripura'),
 
36
    ('UA', 'Uttarakhand'),
 
37
    ('WB', 'West Bengal'),
38
38
 
39
39
    # Union Territories
40
 
    'AN', 'Andaman and Nicobar',
41
 
    'CH', 'Chandigarh',
42
 
    'DN', 'Dadra and Nagar Haveli',
43
 
    'DD', 'Daman and Diu',
44
 
    'DL', 'Delhi',
45
 
    'LD', 'Lakshadweep',
46
 
    'PY', 'Pondicherry',
 
40
    ('AN', 'Andaman and Nicobar'),
 
41
    ('CH', 'Chandigarh'),
 
42
    ('DN', 'Dadra and Nagar Haveli'),
 
43
    ('DD', 'Daman and Diu'),
 
44
    ('DL', 'Delhi'),
 
45
    ('LD', 'Lakshadweep'),
 
46
    ('PY', 'Pondicherry'),
47
47
)
48
48
 
49
49
STATES_NORMALIZED = {