Opened 16 years ago
Closed 16 years ago
#3876 closed (fixed)
Add Australian localflavor
Reported by: | 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)
Change History (4)
Changed 16 years ago by
Attachment: | localflavor_au.diff added |
---|
comment:1 Changed 16 years ago by
Patch needs improvement: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
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).
Changed 16 years ago by
Attachment: | localflavor_au2.diff added |
---|
updated patch with better ValidationError message and moved tests into localflavor.py module
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
localflavor.au module