#5673: [enhancement] Admin interface only sort by the first ordering field in
Meta
class (in models)
-------------------------------------+--------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Component: Admin interface
Version: SVN | Keywords: ordering Meta
multiple-ordering
Stage: Unreviewed | Has_patch: 0
-------------------------------------+--------------------------------------
In any model, if we have multiple ordering:
{{{
class Meta:
ordering = ['one_field', 'another_field']
}}}
admin mode only sort the model by the first field ('one_field' in example)
and not only by all specified fields, as it were the right thing
It's not a bug (see discussion: [http://groups.google.com/group/django-
developers/browse_thread/thread/c74afae800fda0b9/7c744053660b8a82#7c744053660b8a82])
but it could be an enhancement
--
Ticket URL: <http://code.djangoproject.com/ticket/5673>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---