On Tue, 2007-04-03 at 09:32 +0200, Atilla wrote:
> On 03/04/07, Honza Král <[EMAIL PROTECTED]> wrote:
> > something like this works for me...
> >
> > q = Q( tag__name=first_tag )
> > for tag in other_tags:
> >   q = q | Q( tag__name=tag )
> 
> What kind of query does this build BTW? Is it smart enough to put them
> all into a "WHERE name IN ( all-your-tags-here) ?

Not yet, it's not. Will be soon, though. :-)

Regards,
Malcolm



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