Opened 14 years ago
Closed 14 years ago
#16338 closed Bug (fixed)
at.forms.ATZipCodeField accept invalid input
| Reported by: | Bernhard Essl | Owned by: | Bernhard Essl |
|---|---|---|---|
| Component: | contrib.localflavor | Version: | 1.3 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
The austrian postal code is 4 digit long and the first digit can not be 0. http://en.wikipedia.org/wiki/Postal_codes_in_Austria
The django.contrib.localflavor.at.forms.ATZipCodeField accepts invalid inputs like 0123 or 0007.
I added a patch (code, doc and test).
Attachments (1)
Change History (5)
by , 14 years ago
| Attachment: | localflavor_at_postal.diff added |
|---|
comment:1 by , 14 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 14 years ago
| Easy pickings: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:3 by , 14 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
comment:4 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In [16447]: