#10977: In some cases, the intersection of two QuerySets is empty when it
shouldn't
be
------------------------------------------+---------------------------------
Reporter: zain | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 0 |
------------------------------------------+---------------------------------
This bug is best demonstrated by an example with two querysets, qs and
other_qs:
{{{
>>> qs
[<Recommendation: Foo>, <Recommendation: Bar>]
>>> other_qs
[<Recommendation: Foo>]
>>> qs[0] == other_qs[0]
True
>>> qs & other_qs
[]
}}}
I'm attaching a test case to demonstrate the conditions for this to
happen.
--
Ticket URL: <http://code.djangoproject.com/ticket/10977>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---