diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2014-01-08 19:35:47 +0200 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2014-02-04 19:06:37 +0200 |
| commit | fd3fa851b592700a8b04af46f626454db0db02e4 (patch) | |
| tree | d26538d93939d45c162da265dfe03a0accfa6fc0 /docs/ref | |
| parent | 0f272629ca18e440aef67b4a3fd9377a57fb25a8 (diff) | |
[1.6.x] Fixed #21748 -- join promotion for negated AND conditions
Made sure Django treats case .filter(NOT (a AND b)) the same way as
.filter((NOT a OR NOT b)) for join promotion.
Heavily modified backpatch of 35cecb1ebd0ccda0be7a518d1b7273333d26fbae
from master.
Conflicts:
django/db/models/sql/query.py
tests/queries/tests.py
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions
