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 Kevin Cole, 17 years ago

Component: Uncategorizeddjango.contrib.localflavor

comment:2 by Eric Holscher, 16 years ago

milestone: post-1.0
Triage Stage: UnreviewedDesign decision needed

comment:3 by (none), 16 years ago

milestone: post-1.0

Milestone post-1.0 deleted

comment:4 by Julien Phalip, 14 years ago

Type: New feature

comment:5 by Julien Phalip, 14 years ago

Severity: Normal

comment:6 by Alex Gaynor, 13 years ago

Easy pickings: unset
Resolution: wontfix
Status: newclosed
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.

Note: See TracTickets for help on using tickets.
Back to Top