Hello,

I have a small problem in an application.  I use a generic view to
display a list of files.  Each file has a category and a faculty, both
of which are foreign key.  I want to be able to sort by the name of
the file, the name of the category or the name of the faculty.  The
problem is that the documentation on how to order on a foreign key
attribute does not work.  I can do the proper ordering by using
Python's sort() method, but a generic view cannot take a list, it
needs to be a query set.  Is it possible to send a Python list to
object_list()?

Thank you


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to