Opened 18 years ago
Closed 18 years ago
#5939 closed (fixed)
Localflavor: Canadian province normalization omits New Brunswick
| Reported by: | Owned by: | Rajesh Dhawan | |
|---|---|---|---|
| Component: | contrib.localflavor | Version: | dev |
| Severity: | Keywords: | canada province new-brunswick | |
| Cc: | rajesh.dhawan@… | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
A mapping for nb (New Brunswick) is missing in PROVINCES_NORMALIZED in django/contrib/localflavor/ca/ca_provinces.py
This causes django.contrib.localflavor.ca.forms.CAProvinceField to not accept NB as a valid Canadian Province.
Attachments (2)
Change History (5)
by , 18 years ago
| Attachment: | ca_provinces.diff added |
|---|
comment:1 by , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
by , 18 years ago
| Attachment: | ca_provinces.2.diff added |
|---|
Better patch to add the missing mapping for "NB" as well as a couple of regression tests
comment:2 by , 18 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
Patch to add the missing mapping for "NB"