Opened 4 years ago

Closed 4 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:


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@… 4 years ago.
Patch file

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by david.winterbottom@…

Patch file

comment:1 Changed 4 years ago by julien

  • Needs documentation unset
  • Needs tests set
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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

comment:2 Changed 4 years ago by julien

  • Resolution set to duplicate
  • Status changed from new to closed

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

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