Am I right in saying that .values() won't span across joins though? I have a many-to-many field which I would like to retrieve somehow.
On Aug 22, 12:18 pm, Tim Chase <[email protected]> wrote: > > How do I tell Django which fields to select from my database? It seems > > to always use SELECT * FROM, which isn't ideal since I don't need all > > the extra data for my project listing page, just the 'title' and > > 'slug' field. > > read up on the .values() method. > > -tkc --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

