Ticket #8478: 8520.diff

File 8520.diff, 1.2 KB (added by Piotr Lewandowski <django@…>, 16 years ago)

django.contrib.localflavor.ca.ca_provinces 'NF' -> 'NL', trailing spaces removed

  • django/contrib/localflavor/ca/ca_provinces.py

     
    99when explicitly needed.
    1010"""
    1111
    12 PROVINCE_CHOICES = ( 
    13     ('AB', 'Alberta'), 
    14     ('BC', 'British Columbia'), 
    15     ('MB', 'Manitoba'), 
    16     ('NB', 'New Brunswick'), 
    17     ('NF', 'Newfoundland and Labrador'),
    18     ('NT', 'Northwest Territories'), 
    19     ('NS', 'Nova Scotia'), 
    20     ('NU', 'Nunavut'), 
    21     ('ON', 'Ontario'), 
    22     ('PE', 'Prince Edward Island'), 
    23     ('QC', 'Quebec'), 
    24     ('SK', 'Saskatchewan'), 
    25     ('YK', 'Yukon') 
     12PROVINCE_CHOICES = (
     13    ('AB', 'Alberta'),
     14    ('BC', 'British Columbia'),
     15    ('MB', 'Manitoba'),
     16    ('NB', 'New Brunswick'),
     17    ('NL', 'Newfoundland and Labrador'),
     18    ('NT', 'Northwest Territories'),
     19    ('NS', 'Nova Scotia'),
     20    ('NU', 'Nunavut'),
     21    ('ON', 'Ontario'),
     22    ('PE', 'Prince Edward Island'),
     23    ('QC', 'Quebec'),
     24    ('SK', 'Saskatchewan'),
     25    ('YK', 'Yukon')
    2626)
    2727
    2828PROVINCES_NORMALIZED = {
     
    5656    'saskatchewan': 'SK',
    5757    'yk': 'YK',
    5858    'yukon': 'YK',
    59 }
    60  No newline at end of file
     59}
Back to Top