You can put a sort order in the model's meta info. That way you'll always have a default sort.
You can put a sort order in the model's meta info. That way you'll always have a default sort.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
If you do this, every query you execute returning that model will be
sorted. This can lead to serious performance issues if sorting is only
required in certain scenarios - sorting is never free.
Cheers
Tom