django1/django/db/models/sql
Karen Tracey 9df71371c2 Fixed #12822: Don't copy the _aggregate_select_cache when cloning a query set,
as that can lead to incorrect SQL being generated for the query. Thanks to mat
for the report and test, tobias for the fix, and Alex for review.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@12830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-21 20:47:52 +00:00
..
__init__.py Merged the queryset-refactor branch into trunk. 2008-04-27 02:50:16 +00:00
aggregates.py Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
compiler.py Fixed #12937 -- Corrected the operation of select_related() when following an reverse relation on an inherited model. Thanks to subsume for the report. 2010-03-20 15:02:59 +00:00
constants.py Fixed #7672 -- Added a 'week_day' lookup type. Many thanks to Ross Poulton for the proposal and implementation on all built-in database backends.. 2009-02-08 05:08:06 +00:00
datastructures.py Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
expressions.py Fixed #1142 -- Added multiple database support. 2009-12-22 15:18:51 +00:00
query.py Fixed #12822: Don't copy the _aggregate_select_cache when cloning a query set, 2010-03-21 20:47:52 +00:00
subqueries.py Fixed #12953 -- Ensure that deletion cascades through generic relations. Also cleans up the special-casing of generic relations in the deleted object discovery process. Thanks to carljm for the report and patch. 2010-03-15 13:15:01 +00:00
where.py Fixed #12855 -- QuerySets with `extra` where parameters now combine correctly. Thanks, Alex Gaynor. 2010-02-23 04:39:39 +00:00