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 it if there's no
better alternative.

Thanks,
Ryan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to