mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Fixed #5939 -- Added normalization for New Brunswick in the Canadian provinces.
Thanks, rajesh.dhawan@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e2b03bd0c2
commit
4cbc8c62cf
3 changed files with 7 additions and 0 deletions
|
|
@ -147,6 +147,10 @@ u'BC'
|
|||
u'NS'
|
||||
>>> f.clean(' manitoba ')
|
||||
u'MB'
|
||||
>>> f.clean(' new brunswick ')
|
||||
u'NB'
|
||||
>>> f.clean('NB')
|
||||
u'NB'
|
||||
>>> f.clean('T2S 2H7')
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue