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 Kevin Cole

Component: Uncategorizeddjango.contrib.localflavor

comment:2 Changed 15 years ago by Eric Holscher

milestone: post-1.0
Triage Stage: UnreviewedDesign decision needed

comment:3 Changed 15 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

comment:4 Changed 13 years ago by Julien Phalip

Type: New feature

comment:5 Changed 13 years ago by Julien Phalip

Severity: Normal

comment:6 Changed 12 years ago by Alex Gaynor

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