I want to order models in my Django admin interface. The default is alphabetical ordering of models within apps.
I would like to avoid creating extra packages etc, etc, or having to alter Django itself.
Can this be done by overriding Django admin templates, or some other, lightweight way?
EDIT:
I dont want to order final items, like a list of todos.
I want to order different models in index page of admin. E.g. todos come before cars.
You can override the template and add a templatetag to sort. Here's a snippet, it might need some alteration http://djangosnippets.org/snippets/1939/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With