summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorColleen Dunlap <colleendunlap@Colleens-Air.lan>2025-05-15 15:41:59 -0400
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-05-19 10:36:08 +0200
commit787f3130f751283140fe2be8188eb5299552232d (patch)
treee17b9bff52622d3872e00e7193eaaa16bc25e679 /docs
parent6228a35095d06fecf55bc1a3308ab4d46cc2d57b (diff)
[5.2.x] Fixed #36388 -- Made QuerySet.union() return self when called with no arguments.
Regression in 9cb8baa0c4fa2c10789c5c8b65f4465932d4d172. Thank you to Antoine Humeau for the report and Simon Charette for the review. Backport of 802baf5da5b8d8b44990a8214a43b951e7ab8b39 from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.2.2.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/5.2.2.txt b/docs/releases/5.2.2.txt
index 22f3009c34..f6787bff08 100644
--- a/docs/releases/5.2.2.txt
+++ b/docs/releases/5.2.2.txt
@@ -15,3 +15,6 @@ Bugfixes
* Fixed a bug in Django 5.2 where subqueries using ``"pk"`` to reference models
with a ``CompositePrimaryKey`` failed to raise ``ValueError`` when too many
or too few columns were selected (:ticket:`36392`).
+
+* Fixed a regression in Django 5.2 that caused a crash when no arguments were
+ passed into ``QuerySet.union()`` (:ticket:`36388`).