Opened 17 years ago
Closed 13 years ago
#6973 closed New feature (wontfix)
Feature Request: Sort methods/sortable attributes for USStateField, etc
Reported by: | Kevin Cole | Owned by: | nobody |
---|---|---|---|
Component: | contrib.localflavor | Version: | dev |
Severity: | Normal | Keywords: | sorting |
Cc: | Triage Stage: | Design decision needed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In addition to validating state abbreviations, it would be nice to be able to sort by the full name rather than the abbreviation (and perhaps retrieve the state name and/or other static, simple information.) The same might also apply to countries: using the two-letter ISO abbreviation, get the three-letter abbreviation, ISO numeric code, country name, etc.
Change History (6)
comment:1 by , 17 years ago
Component: | Uncategorized → django.contrib.localflavor |
---|
comment:2 by , 16 years ago
milestone: | → post-1.0 |
---|---|
Triage Stage: | Unreviewed → Design decision needed |
comment:3 by , 16 years ago
milestone: | post-1.0 |
---|
comment:4 by , 14 years ago
Type: | → New feature |
---|
comment:5 by , 13 years ago
Severity: | → Normal |
---|
comment:6 by , 13 years ago
Easy pickings: | unset |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
UI/UX: | unset |
Wontfixing this: you can easily change the ordering by overriding init in your form and sorting the choices on your widget however you'd like, there's no need to bloat every field with tons of options for how to sort its choices.
Milestone post-1.0 deleted