Opened 6 years ago

Closed 6 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: UI/UX:

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 6 years ago.
The correct code.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by bartek

The correct code.

comment:1 Changed 6 years ago by kmtracey

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

#10456 already reports this.

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