summaryrefslogtreecommitdiff
path: root/docs
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 10:32:39 +0200
commit48e19bae49f271cccbb8a8f4549c9366b7cecac6 (patch)
treecc52844e77b7884251c60071933b86751249035a /docs
parent1cc2eaf02d2aa64f7ca4ef52f3d9f13381540007 (diff)
[3.2.x] 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. Backport of 6d0cbe42c3d382e5393d4af48185c546bb0ada1f from main
Diffstat (limited to 'docs')
-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`).