#19848: ANDed Q filters spanning generic relations evaluate unexpectedly to 
empty
querie sets
-------------------------------------+-------------------------------------
     Reporter:  gotoalanlu@…         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:                       |                  Version:  master
  contrib.contenttypes               |               Resolution:  invalid
     Severity:  Normal               |             Triage Stage:
     Keywords:  generic              |  Unreviewed
  genericrelations filter q and      |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by Alan Lu <gotoalanlu@…>):

 Just in case somebody in the future misses things like I do, here is
 another [http://stackoverflow.com/questions/5542874/difference-between-
 filter-with-multiple-arguments-and-chain-filter-in-django StackOverflow
 question] which addresses why this is right and good for M2M/generic
 relationships. As it is now, the system is perfectly capable.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19848#comment:6>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to