mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[5.2.x] Fixed #36648, Refs #33772 -- Accounted for composite pks in first()/last() when aggregating.
Backport of 02eed4f378 from main.
This commit is contained in:
@@ -10,3 +10,7 @@ Bugfixes
|
||||
========
|
||||
|
||||
* Added compatibility for ``oracledb`` 3.4.0 (:ticket:`36646`).
|
||||
|
||||
* Fixed a bug in Django 5.2 where ``QuerySet.first()`` and ``QuerySet.last()``
|
||||
raised an error on querysets performing aggregation that selected all fields
|
||||
of a composite primary key.
|
||||
|
||||
Reference in New Issue
Block a user