Unfortunately, this gives you a dictionary and not an object ( and so
you lose all the cool object methods like get_absolute_url, get_FOOsets
etc ). Is there a way around this I'm missing?

Malcolm Tredinnick wrote:
> Look at the .values() method on QuerySets ([1]). It will give you back a
> list of dictionaries, instead of a list of objects, and the dictionaries
> will only contain the fields you requested.


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