From b406907af53cfcecd4dba36894ca96e888956ff4 Mon Sep 17 00:00:00 2001 From: nessita <124304+nessita@users.noreply.github.com> Date: Thu, 30 Jan 2025 10:37:14 -0300 Subject: [5.2.x] Tweaked docs to avoid reformatting given new black version. Backport of fd3cfd80bebad292d639a03e58632e494369eb92 from main. --- docs/ref/contrib/postgres/aggregates.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/contrib/postgres/aggregates.txt b/docs/ref/contrib/postgres/aggregates.txt index e9d6de5d74..80c8acf80b 100644 --- a/docs/ref/contrib/postgres/aggregates.txt +++ b/docs/ref/contrib/postgres/aggregates.txt @@ -51,11 +51,10 @@ General-purpose aggregation functions Examples:: - "some_field" - "-some_field" from django.db.models import F - F("some_field").desc() + ArrayAgg("a_field", order_by="-some_field") + ArrayAgg("a_field", order_by=F("some_field").desc()) .. deprecated:: 5.2 -- cgit v1.3