summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/postgres/aggregates.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/postgres/aggregates.txt b/docs/ref/contrib/postgres/aggregates.txt
index edaf032ffa..da5e1c2ad3 100644
--- a/docs/ref/contrib/postgres/aggregates.txt
+++ b/docs/ref/contrib/postgres/aggregates.txt
@@ -51,8 +51,8 @@ General-purpose aggregation functions
from django.db.models import F
- ArrayAgg("a_field", order_by="-some_field")
- ArrayAgg("a_field", order_by=F("some_field").desc())
+ ArrayAgg("a_field", ordering="-some_field")
+ ArrayAgg("a_field", ordering=F("some_field").desc())
.. versionchanged:: 5.0