On Fri, Feb 11, 2011 at 8:54 AM, vanderkerkoff <tonm...@gmail.com> wrote:
> A fried of mine told me the answer, couldn't find it anywhere online.
> Is this documented anywhere?
>
> In my document model I had to add this to order the document list in
> the publication admin page
>
> class Meta:
>    ordering = ('title',)
>
> I was under the impression all the Meta stuff had been moved into
> admin.py, obviously not :-)
>
> matt
>

http://docs.djangoproject.com/en/1.2/ref/models/options/#ordering

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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.

Reply via email to