Re: concatenation of querysets

2008-05-01 Thread msoulier
On May 1, 11:20 am, msoulier <[EMAIL PROTECTED]> wrote: > I looked in the docs and I've failed to find, so I apologize if it's > freakin' obvious, but how does one concatenate two querysets? Doh! http://groups.google.ca/group/django-users/browse_thread/thread/d22e8a8f378cf0e2 Forget it. :) Mik

concatenation of querysets

2008-05-01 Thread msoulier
I looked in the docs and I've failed to find, so I apologize if it's freakin' obvious, but how does one concatenate two querysets? ie. q1 = Client.objects.filter(name__icontains='foo') q2 = Client.objects.filter(description__icontains='bar') q3 = q1 + q2 ?? How would I merge these? They behave