django1/django/db/models/sql
Anssi Kääriäinen 5cc0f5f8c1 Made Query.clear_ordering force_empty arg mandatory
Previously it was possible to call clear_ordering without the
force_empty argument. The result was that the query was still ordered
by model's meta ordering if that was defined. By making the arg
mandatory it will be easier to spot possible errors caused by assuming
clear_ordering will remove all ordering.

Thanks to Dylan Klomparens for the suggestion. Refs #19720.
2013-02-10 20:58:25 +02: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 Fixed #16759 -- Remove use of __deepcopy__ in qs.clone() 2013-01-08 19:17:13 +02:00
compiler.py Minor improvement to proxy model handling 2012-12-30 11:20:27 +02:00
constants.py Moved join path generation to Field 2012-12-30 11:19:19 +02:00
datastructures.py Refactored the empty/full result logic in WhereNode.as_sql() 2012-07-01 17:21:34 +03:00
expressions.py Fixed #19500 -- Solved a regression in join reuse 2012-12-20 21:27:00 +02:00
query.py Made Query.clear_ordering force_empty arg mandatory 2013-02-10 20:58:25 +02:00
subqueries.py Fixed #19500 -- Solved a regression in join reuse 2012-12-20 21:27:00 +02:00
where.py Fixed #16759 -- Remove use of __deepcopy__ in qs.clone() 2013-01-08 19:17:13 +02:00