Opened 16 years ago

Closed 16 years ago

#5939 closed (fixed)

Localflavor: Canadian province normalization omits New Brunswick

Reported by: rajesh.dhawan@… 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)

ca_provinces.diff (447 bytes ) - added by rajesh.dhawan@… 16 years ago.
Patch to add the missing mapping for "NB"
ca_provinces.2.diff (925 bytes ) - added by Rajesh Dhawan 16 years ago.
Better patch to add the missing mapping for "NB" as well as a couple of regression tests

Download all attachments as: .zip

Change History (5)

by rajesh.dhawan@…, 16 years ago

Attachment: ca_provinces.diff added

Patch to add the missing mapping for "NB"

comment:1 by Rajesh Dhawan, 16 years ago

Owner: changed from nobody to Rajesh Dhawan
Status: newassigned

by Rajesh Dhawan, 16 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 Rajesh Dhawan, 16 years ago

Triage Stage: UnreviewedReady for checkin

comment:3 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [6744].

Note: See TracTickets for help on using tickets.
Back to Top