django1/django/db/models/sql
Anssi Kääriäinen 31fd64ad8a Fixed #20564 -- Generic relations exclude() regression
The patch for #19385 caused a regression in certain generic relations
.exclude() filters if a subquery was needed. The fix contains a
refactoring to how Query.split_exclude() and Query.trim_start()
interact.

Thanks to Trac alias nferrari for the report.
2013-06-06 01:54:46 +03:00
..
__init__.py Remove all relative imports. We have always been at war with relative imports. 2011-10-18 00:47:49 +00:00
aggregates.py Replaced `and...or...` constructs with PEP 308 conditional expressions. 2013-05-26 23:47:50 -03:00
compiler.py Fixed #16436 -- defer + annotate + select_related crash 2013-05-30 08:46:31 +03:00
constants.py Fixed #19385 again, now with real code changes 2013-03-24 18:40:40 +02:00
datastructures.py Fixed #19964 -- Removed relabel_aliases from some structs 2013-03-12 21:33:47 +02:00
expressions.py Fixed #19385 again, now with real code changes 2013-03-24 18:40:40 +02:00
query.py Fixed #20564 -- Generic relations exclude() regression 2013-06-06 01:54:46 +03:00
subqueries.py Replaced an antiquated pattern. 2013-05-17 18:08:58 +02:00
where.py Fixed #20507 -- SubqueryConstraint alias relabeling 2013-05-27 12:25:29 +03:00