mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[5.2.x] Fixed #36388 -- Made QuerySet.union() return self when called with no arguments.
Regression in9cb8baa0c4. Thank you to Antoine Humeau for the report and Simon Charette for the review. Backport of802baf5da5from main.
This commit is contained in:
committed by
Sarah Boyce
parent
6228a35095
commit
787f3130f7
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user