summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2025-10-13 17:22:17 -0400
committerJacob Walls <jacobtylerwalls@gmail.com>2025-10-14 15:49:48 -0400
commit28c95a35fbf1a64bb342f622a90fbaaf46315819 (patch)
treebc759f4c1d736ff24be9d19ebc8e3d21a84d7a1a /docs
parenta01d85d9416ca2aa9b3eca00a2f97a24ff25d303 (diff)
[6.0.x] Fixed #36648, Refs #33772 -- Accounted for composite pks in first()/last() when aggregating.
Backport of 02eed4f37879b2077496f86bb1378a076b981233 from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.2.8.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.2.8.txt b/docs/releases/5.2.8.txt
index ef18d08022..dc750e4636 100644
--- a/docs/releases/5.2.8.txt
+++ b/docs/releases/5.2.8.txt
@@ -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.