I know this is probably really simple, but I have lost hours trying to
figure it out.

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.

Is there some easy way to do this or will I have to use raw sql?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to