Opened 15 years ago

Closed 15 years ago

#11326 closed (duplicate)

Canadian Province code incorrect.

Reported by: bartek Owned by: nobody
Component: contrib.localflavor Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Within: http://code.djangoproject.com/browser/django/trunk/django/contrib/localflavor/ca/ca_provinces.py

The code for Newfoundland and Labrador is no longer "NF", it is officially "NL" according to the post, paypal, and any government entity.

Some references:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_StateandProvinceCodes
http://en.wikipedia.org/wiki/Newfoundland_and_Labrador

The issue with this is that I cannot use services like PayPal payments pro for people living in Newfoundland because it does not recognize the province code. A developer has to currently create their own PROVINCE_CHOICES tuple to overcome this issue.

Attachments (1)

province_bug.diff (657 bytes ) - added by bartek 15 years ago.
The correct code.

Download all attachments as: .zip

Change History (2)

by bartek, 15 years ago

Attachment: province_bug.diff added

The correct code.

comment:1 by Karen Tracey, 15 years ago

Resolution: duplicate
Status: newclosed

#10456 already reports this.

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