Opened 14 years ago

Closed 14 years ago

#16132 closed Bug (duplicate)

Error message in django.contrib.localflavor.in_.forms.INZipCodeField is incorrect

Reported by: david.winterbottom@… 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)

correct-error-message.diff (552 bytes ) - added by david.winterbottom@… 14 years ago.
Patch file

Download all attachments as: .zip

Change History (3)

by david.winterbottom@…, 14 years ago

Attachment: correct-error-message.diff added

Patch file

comment:1 by Julien Phalip, 14 years ago

Needs tests: set
Triage Stage: UnreviewedAccepted

Accepting. Tests are needed but can't be properly written until #15805 gets fixed.

comment:2 by Julien Phalip, 14 years ago

Resolution: duplicate
Status: newclosed

This is actually addressed by the patch in #15813, hence closing as dupe.

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