I want to make a generic object_list view and for some reasons I can't
directly generate the QuerySet (which is a necessary parameter of the
object_list) but I can retrieve the list of objects I want to display
using a raw SQL statement. As I still want to use the object_list
view, which needs a QuerySet, how can I convert the list of objects
into a QuerySet? Or maybe there is a way to pass to the object_list
view directly the list of objects as returned by the SQL statement
(with cursor.fetchall())?

Thanks
Francesco


--~--~---------~--~----~------------~-------~--~----~
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