Opened 16 years ago
Closed 12 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 Changed 16 years ago by
Component: | Uncategorized → django.contrib.localflavor |
---|
comment:2 Changed 15 years ago by
milestone: | → post-1.0 |
---|---|
Triage Stage: | Unreviewed → Design decision needed |
comment:3 Changed 15 years ago by
milestone: | post-1.0 |
---|
comment:4 Changed 13 years ago by
Type: | → New feature |
---|
comment:5 Changed 13 years ago by
Severity: | → Normal |
---|
comment:6 Changed 12 years ago by
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