On 6/22/06, momobear <[EMAIL PROTECTED]> wrote:
> hi, I use the generic view object_list to display my result, but now I
> want the result to be showed like the page in django admin-site, we can
> click the column to let it on desc or asc ordering, the admin-site
> seems complex to me, is there any easy solution? thanks.

Hi momobear,

The generic-views framework doesn't support ordering by arbitrary
fields like that. You'll have to write that functionality on your own.

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to