1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #36648, Refs #33772 -- Accounted for composite pks in first()/last() when aggregating.

This commit is contained in:
Jacob Walls
2025-10-13 17:22:17 -04:00
parent cc9df52666
commit 02eed4f378
3 changed files with 32 additions and 2 deletions

View File

@@ -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.