django1/django/db/models/sql
Anssi Kääriäinen d467e11785 Fixed #20507 -- SubqueryConstraint alias relabeling
The SubqueryConstraint defined relabeled_clone(), but that was never
called. Instead there is now clone() and relabel_aliases() methods for
SubqueryConstraint.

A related problem was that SubqueryConstraint didn't correctly use
quote_name_unless_alias() of the outer query. This resulted in failures
when running under PostgreSQL.
2013-05-27 12:25:29 +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 #20507 -- SubqueryConstraint alias relabeling 2013-05-27 12:25:29 +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 Replaced an antiquated pattern. 2013-05-17 18:08:58 +02: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