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 <django.us...@tim.thechases.com> 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 django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---