Opened 17 years ago

Closed 17 years ago

#3876 closed (fixed)

Add Australian localflavor

Reported by: Matthew Flanagan <mattimustang@…> Owned by: Adrian Holovaty
Component: Contrib apps Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description


Attachments (2)

localflavor_au.diff (7.6 KB ) - added by Matthew Flanagan <mattimustang@…> 17 years ago.
localflavor.au module
localflavor_au2.diff (6.9 KB ) - added by mattimustang@… 17 years ago.
updated patch with better ValidationError message and moved tests into localflavor.py module

Download all attachments as: .zip

Change History (4)

by Matthew Flanagan <mattimustang@…>, 17 years ago

Attachment: localflavor_au.diff added

localflavor.au module

comment:1 by Malcolm Tredinnick, 17 years ago

Patch needs improvement: set
Triage Stage: UnreviewedAccepted

The phone number validator's error message is misleading. Note that (0432) 198 765 is a valid input, but it's not 10 digits jammed together. I'm really reluctant to be too strict on phone numbers in general, since there are so many ways to enter them. This seems like a good way to go, although we should allow hyphens, too (and just strip them out).

by mattimustang@…, 17 years ago

Attachment: localflavor_au2.diff added

updated patch with better ValidationError message and moved tests into localflavor.py module

comment:2 by Russell Keith-Magee, 17 years ago

Resolution: fixed
Status: newclosed

(In [4955]) Fixed #3876 -- Added Australian local flavour. Thanks, Matthew Flanagan.

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