django1/django/db/models/sql
Anssi Kääriäinen e74787391e Fixed a regression introduced in where.as_sql() refactor
At least Oracle needs parentheses in negated where conditions, even if
there is only single condition negated. Fixed this by reverting to old
logic in that part of as_sql() and adding a comment about this.

I did not investigate why the parentheses are needed. The original
offending commit was bd283aa844.
2012-07-01 22:52:35 +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 Fixed #17728 -- When filtering an annotation, ensured the values used in the filter are properly converted to their database representation. This bug was particularly visible with timezone-aware DateTimeFields. Thanks gg for the report and Carl for the review. 2012-02-22 19:40:27 +00:00
compiler.py Fixed #17485 -- Made defer work with select_related 2012-06-26 18:08:42 +03:00
constants.py Switch a datastructure internal to the ORM to be a set, instead of a dictionary. 2012-04-29 22:18:30 -04:00
datastructures.py Refactored the empty/full result logic in WhereNode.as_sql() 2012-07-01 17:21:34 +03:00
expressions.py Fixed #10154: Allow combining F expressions with timedelta values. 2010-12-22 03:34:04 +00:00
query.py Fixed #17485 -- Made defer work with select_related 2012-06-26 18:08:42 +03:00
subqueries.py Fixed #10498 (again) -- Made sure the improvements done in r17641 have a smaller impact on speed. Thanks to Anssi Kääriäinen for the patch and Jonas Obrist for reviewing. 2012-03-13 03:48:20 +00:00
where.py Fixed a regression introduced in where.as_sql() refactor 2012-07-01 22:52:35 +03:00