Ordering choices after translation
|Reported by:||Owned by:||nobody|
|Severity:||Normal||Keywords:||order choices field|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||yes||Patch needs improvement:||no|
parameter to constructor of db.models.Field class, that specifies ordering of choices list.
Ordering is performed after translation, so localized lists are ordered correctly.
The ordering was tested successfully both on CharField with choices and ForeignKey field.
Change History (6)
comment:2 Changed 9 years ago by
|Triage Stage:||Unreviewed → Design decision needed|