diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2015-05-19 14:49:00 +0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-05-20 09:41:04 -0400 |
| commit | bc87061a3c7c8d6b4d2469f35cc78683c6cff647 (patch) | |
| tree | 6a3eec0238a14a0a57c87bc63b3aac5f87f3fa40 /docs | |
| parent | 8b106cfaa07dc04ad27a1a90c1eb03af80111695 (diff) | |
Fixed #24705 -- Fixed negated Q objects in expressions.
Avoided split_exclude() for Q when used as an expression.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.8.2.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/1.8.2.txt b/docs/releases/1.8.2.txt index 18c1ba38c9..635bc96e92 100644 --- a/docs/releases/1.8.2.txt +++ b/docs/releases/1.8.2.txt @@ -18,6 +18,10 @@ Bugfixes query with a ``Case`` expression could unexpectedly filter out results (:ticket:`24766`). +* Fixed negated ``Q`` objects in expressions. Cases like + ``Case(When(~Q(friends__age__lte=30)))`` tried to generate a subquery which + resulted in a crash (:ticket:`24705`). + * Fixed incorrect GROUP BY clause generation on MySQL when the query's model has a self-referential foreign key (:ticket:`24748`). |
