Opened 13 years ago
Closed 13 years ago
#16132 closed Bug (duplicate)
Error message in django.contrib.localflavor.in_.forms.INZipCodeField is incorrect
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.localflavor | Version: | 1.3 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Message indicates that 7 digits are required, whereas the correct value is 6 (see http://en.wikipedia.org/wiki/Postal_Index_Number).
Trivial patch attached
Attachments (1)
Change History (3)
by , 13 years ago
Attachment: | correct-error-message.diff added |
---|
comment:1 by , 13 years ago
Needs tests: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
Accepting. Tests are needed but can't be properly written until #15805 gets fixed.
comment:2 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This is actually addressed by the patch in #15813, hence closing as dupe.
Note:
See TracTickets
for help on using tickets.
Patch file