From 1759c1dbd1e3cd4c9fcd345269e0d25796468f7f Mon Sep 17 00:00:00 2001 From: Chris Muthig Date: Wed, 14 Aug 2024 13:54:09 -0600 Subject: Refs #35444 -- Deprecated contrib.postgres.OrderableAggMixin. This commit does not create any functional changes, but marks the existing `OrderableAggMixin` class as deprecated so that developers using it directly can be made aware of its future removal. --- docs/internals/deprecation.txt | 3 +++ docs/releases/6.0.txt | 3 +++ 2 files changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index a7695972eb..15a44e78e4 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -20,6 +20,9 @@ details on these changes. * The ``django.contrib.postgres.aggregates.StringAgg`` class will be removed. +* The ``django.contrib.postgres.aggregates.mixins.OrderableAggMixin`` class + will be removed. + .. _deprecation-removed-in-6.1: 6.1 diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index edf4ce0299..44b9781d44 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -301,6 +301,9 @@ Miscellaneous * The PostgreSQL ``StringAgg`` class is deprecated in favor of the generally available :class:`~django.db.models.StringAgg` class. +* The PostgreSQL ``OrderableAggMixin`` is deprecated in favor of the + ``order_by`` attribute now available on the ``Aggregate`` class. + Features removed in 6.0 ======================= -- cgit v1.3