And because I wasn't concentrating about which list I was reading, here
comes the obligatory statement:
Please take any follow-ups to django-users. This mailing list is
for the internal development of Django itself. "How to use"
questions should go to the django-users mail
On Fri, 2008-08-29 at 10:51 -0700, ryan wrote:
> I have 2 querysets q1 and q2.
>
> I want q3 = q2-q1, where q3 is a queryset object and contains only the
> objects in q2 that are not in q1.
>
> Is there built in support for this operation?
>
> The only thing I can think to do is:
> list( set(q
I have 2 querysets q1 and q2.
I want q3 = q2-q1, where q3 is a queryset object and contains only the
objects in q2 that are not in q1.
Is there built in support for this operation?
The only thing I can think to do is:
list( set(q2) - set(q1) )
It doesn't return a queryset, but I can deal with i