summaryrefslogtreecommitdiff
path: root/docs/releases/3.2.1.txt
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2021-04-20 22:25:52 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-04-21 09:49:15 +0200
commit6d0cbe42c3d382e5393d4af48185c546bb0ada1f (patch)
treed2b5b18450c3215b02493fb00f2b9c265fc12efa /docs/releases/3.2.1.txt
parent34d1905712d33e72c76b3a55a4fc24abbd11be6c (diff)
Fixed #32650 -- Fixed handling subquery aliasing on queryset combination.
This issue started manifesting itself when nesting a combined subquery relying on exclude() since 8593e162c9cb63a6c0b06daf045bc1c21eb4d7c1 but sql.Query.combine never properly handled subqueries outer refs in the first place, see QuerySetBitwiseOperationTests.test_subquery_aliases() (refs #27149). Thanks Raffaele Salmaso for the report.
Diffstat (limited to 'docs/releases/3.2.1.txt')
-rw-r--r--docs/releases/3.2.1.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/3.2.1.txt b/docs/releases/3.2.1.txt
index 4aece451e1..07d449ae8d 100644
--- a/docs/releases/3.2.1.txt
+++ b/docs/releases/3.2.1.txt
@@ -51,3 +51,8 @@ Bugfixes
* Fixed a bug in Django 3.2 where a system check would crash on the
:setting:`STATICFILES_DIRS` setting with a list of 2-tuples of
``(prefix, path)`` (:ticket:`32665`).
+
+* Fixed a long standing bug involving queryset bitwise combination when used
+ with subqueries that began manifesting in Django 3.2, due to a separate fix
+ using ``Exists`` to ``exclude()`` multi-valued relationships
+ (:ticket:`32650`).