You're going about it the wrong way - you should be combining all the
Q objects into one, then just filter with that - it'll do all the
queries at once, and give you one queryset back :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
I have a search function on my site.
A user needs to be able to input multiple words that are then searched
for in multiple text fields. My issue is the following: my function
works very well for a single word or for the last word of a search as
the queryset gets overwritten. I understand what is
2 matches
Mail list logo