Changes between Initial Version and Version 1 of Ticket #10233


Ignore:
Timestamp:
Feb 11, 2009, 1:21:22 AM (15 years ago)
Author:
Russell Keith-Magee
Comment:

Corrected formatting

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10233 – Description

    initial v1  
    22
    33The exclusion condition seems to need at least 3 levels of 'redirection' (for want of a better term) for the failure to occur. For example:
    4 
     4{{{
    55     X.objects.exclude(a='foo')       -- OK
    66     X.objects.exclude(a__b='foo')    -- OK
    77     X.objects.exclude(a__b__c='foo') -- FAIL
    8 
     8}}}
    99The equivalent X.objects.filter(...) succeeds. Also I have not tested higher levels of redirection than 3.
    1010
     
    1212 
    1313Please refer to the attached file for a concrete query example showing the SQL produced under Django 1.0.x (tagged releases 1.0 and 1.0.2 tested) and Django TRUNK.
    14 
Back to Top