#11052: Q-Object disjunction join promotion .. bug
---------------------------------------------------+------------------------
          Reporter:  emulbreh                      |         Owner:  
mtredinnick       
            Status:  assigned                      |     Milestone:  1.3        
       
         Component:  Database layer (models, ORM)  |       Version:  SVN        
       
        Resolution:                                |      Keywords:  m2m, join, 
null, q
             Stage:  Accepted                      |     Has_patch:  1          
       
        Needs_docs:  0                             |   Needs_tests:  1          
       
Needs_better_patch:  1                             |  
---------------------------------------------------+------------------------
Comment (by bronger):

 I confirm the observation of comment:7 by mucisland.

 Apparently, if a foreign key can't be followed because it's NULL, the Q
 object returns True if used in an "exclude".

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11052#comment:9>
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.

Reply via email to