#14977: contrib.admin ordering by two or more fields ----------------------------------+----------------------------------------- Reporter: ehc | Owner: nobody Status: new | Milestone: 1.3 Component: django.contrib.admin | Version: 1.3-alpha Keywords: admin ordering order | Stage: Unreviewed Has_patch: 1 | ----------------------------------+----------------------------------------- The contrib.admin app does not support ordering by more than one field. The ordering list/tuple is always truncated to the first element ignoring all others. I recently ran into a situation where I needed to sort by two fields and found that the admin was unable to do this. I have created a patch that implements this feature. Feedback on the patch would be appreciated. Documentation and tests to follow.
-- Ticket URL: <http://code.djangoproject.com/ticket/14977> Django <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.
