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 en
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) ?
something like this works for me...
q = Q( tag__name=first_tag )
for tag in other_tags:
q = q | Q( tag__name=tag )
Model.objects.filter( q )
On 4/2/07, Christian Hoppner <[EMAIL PROTECTED]> wrote:
>
> Hi there!
>
> I've been thinking about including in my new app a kind of tag browser. The
> u
3 matches
Mail list logo