Opened 8 years ago

Closed 8 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


Message indicates that 7 digits are required, whereas the correct value is 6 (see

Trivial patch attached

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by david.winterbottom@…

Attachment: correct-error-message.diff added

Patch file

comment:1 Changed 8 years ago by Julien Phalip

Needs tests: set
Triage Stage: UnreviewedAccepted

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

comment:2 Changed 8 years ago by Julien Phalip

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