#8527: CAPostalCodeField made more forgiving of input format ----------------------------------------+----------------------------------- Reporter: dharris | Owner: nobody Status: new | Milestone: Component: django.contrib.localflavor | Version: SVN Keywords: ca postal code | Stage: Unreviewed Has_patch: 1 | ----------------------------------------+----------------------------------- Similar to the work done in [6952] for #5670 for UKPostcodeField, this change is more forgiving of Canadian postal code input. Uppercase, lowercase, with or without a space in between the two segments.
The clean method returns a nice, clean version -- enter 'K1A 0A9', 'k1a 0A9', 'k1a0a9', or even ' k1A 0A9 ' and it will return the standard form: 'K1A 0A9'. Patch contains code change and additions to regression tests. -- Ticket URL: <http://code.djangoproject.com/ticket/8527> 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 -~----------~----~----~----~------~----~------~--~---
