Yes sorry, In this example I didn't realize about that, but in my code
I have Q objects.
I wrote it very quick.


On 21 ago, 10:27, Collin Grady <[EMAIL PROTECTED]> wrote:
> That probably isn't what you want, though it will work (technically
> speaking)
>
> The way you're doing it, that's going to chain the filters with AND,
> not OR, so only things that match the title and description for all
> words will show up.
>
> You probably want to build a Q object with | for an OR lookup
> instead :)


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