The Django *admin* only uses one field, ever. Bit of an irritating limitation, I grant you, but with the use of date hierarchies and list filters it's not too bad.
On Jul 14, 7:40 pm, hjebbers <hjebb...@gmail.com> wrote: > is there a way to have a model class sorted on multiple fields? > in the meta class of my models I set the ordering, but django uses > only the first field for ordering; > a second field is just ignored. > > (I am aware that if a users starts to sort using table headers in the > admin interface only one field will be used. It would just be great to > have the initial ordering on 2 fields.) > > kind regards, henk-jan ebbers -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.