On 8/31/07, sect2k <[EMAIL PROTECTED]> wrote:
> One way of doing it would be to use template tags, but that would amount to
> redundant SQL queries for each story. I guess another way of doing it would
> be to write custom SQL using JOIN.
>
> What I would like to know is what is the django way of doing this?

http://www.djangoproject.com/documentation/db-api/#extra-select-none-where-none-params-none-tables-none

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

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