#3988: Add Canadian (.ca) localflavor
-------------------------------+--------------------------------------------
Reporter: pi | Owner: adrian
Status: new | Component:
django.contrib.localflavor
Version: SVN | Resolution:
Keywords: localflavor, ca | Stage: Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 1 | Needs_better_patch: 0
-------------------------------+--------------------------------------------
Changes (by [EMAIL PROTECTED]):
* cc: [EMAIL PROTECTED] (added)
Comment:
I think the regex used for postal codes is a little too generous.
Here's what I'm using in my code :
{{{
'[ABCEGHJKLMNPRSTVXY]\d[A-Z] \d[A-Z]\d'
}}}
I don't think this is where I got it from, but it does seem to match :
http://www.forta.com/blog/index.cfm?mode=entry&entry=A61BA033-3048-80A9-
EFF8935E41AB9FE2
--
Ticket URL: <http://code.djangoproject.org/ticket/3988#comment:6>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---