#15023 closed (fixed)
us_states.STATE_CHOICES, USPS_CHOICES should be tuples, not lists
Reported by: | Tim Graham | Owned by: | nobody |
---|---|---|---|
Component: | contrib.localflavor | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Since r15058 these lists are sorted but that makes them lists instead of tuples. To be backwards compatible and for consistency with the other choices, I think they should be tuples.
Attachments (1)
Change History (4)
by , 14 years ago
Attachment: | 15023.diff added |
---|
comment:1 by , 14 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [15149]) Fixed #15023 -- Made US states list a tuple to be a bit more backwards compatible after r15058. Thanks, timo.