mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #36388 -- Made QuerySet.union() return self when called with no arguments.
Regression in 9cb8baa0c4.
Thank you to Antoine Humeau for the report and Simon Charette for the review.
This commit is contained in:
committed by
Sarah Boyce
parent
1ba5fe19ca
commit
802baf5da5
@@ -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