Code

Opened 3 years ago

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

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

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by david.winterbottom@…

Patch file

comment:1 Changed 3 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 3 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.