Ticket #9022: armed_forces.diff
File armed_forces.diff, 1.8 KB (added by , 16 years ago) |
---|
-
django/contrib/localflavor/us/us_states.py
12 12 ('AS', 'American Samoa'), 13 13 ('AZ', 'Arizona'), 14 14 ('AR', 'Arkansas'), 15 ('AA', 'Armed Forces Americas'), 16 ('AE', 'Armed Forces Europe'), 17 ('AP', 'Armed Forces Pacific'), 15 18 ('CA', 'California'), 16 19 ('CO', 'Colorado'), 17 20 ('CT', 'Connecticut'), … … 66 69 ) 67 70 68 71 STATES_NORMALIZED = { 72 'aa': 'AA', 73 'ae': 'AE', 69 74 'ak': 'AK', 70 75 'al': 'AL', 71 76 'ala': 'AL', … … 73 78 'alaska': 'AK', 74 79 'american samao': 'AS', 75 80 'american samoa': 'AS', 81 'ap': 'AP', 76 82 'ar': 'AR', 77 83 'ariz': 'AZ', 78 84 'arizona': 'AZ', 79 85 'ark': 'AR', 80 86 'arkansas': 'AR', 87 'armed forces africa': 'AE', 88 'armed forces americas': 'AA', 89 'armed forces europe': 'AE', 90 'armed forces pacific': 'AP', 91 'armed forces canada': 'AE', 92 'armed forces middle east': 'AE', 81 93 'as': 'AS', 82 94 'az': 'AZ', 83 95 'ca': 'CA', -
tests/regressiontests/forms/localflavor/us.py
190 190 <option value="AS">American Samoa</option> 191 191 <option value="AZ">Arizona</option> 192 192 <option value="AR">Arkansas</option> 193 <option value="AA">Armed Forces Americas</option> 194 <option value="AE">Armed Forces Europe</option> 195 <option value="AP">Armed Forces Pacific</option> 193 196 <option value="CA">California</option> 194 197 <option value="CO">Colorado</option> 195 198 <option value="CT">Connecticut</option>