Branch: refs/heads/master Home: https://github.com/django/django Commit: e74787391e8fdf87d9a92138028911746809bd7c https://github.com/django/django/commit/e74787391e8fdf87d9a92138028911746809bd7c Author: Anssi Kääriäinen <akaar...@gmail.com> Date: 2012-07-01 (Sun, 01 Jul 2012)
Changed paths: M django/db/models/sql/where.py M tests/regressiontests/queries/tests.py Log Message: ----------- 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 bd283aa844b04651b7c8b4e85f48c6dced1678f0. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.