Changes between Initial Version and Version 1 of Ticket #10233
- Timestamp:
- Feb 11, 2009, 1:21:22 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10233 – Description
initial v1 2 2 3 3 The 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 {{{ 5 5 X.objects.exclude(a='foo') -- OK 6 6 X.objects.exclude(a__b='foo') -- OK 7 7 X.objects.exclude(a__b__c='foo') -- FAIL 8 8 }}} 9 9 The equivalent X.objects.filter(...) succeeds. Also I have not tested higher levels of redirection than 3. 10 10 … … 12 12 13 13 Please 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