diff options
| author | nessita <124304+nessita@users.noreply.github.com> | 2025-01-30 10:37:14 -0300 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2025-01-30 10:39:08 -0300 |
| commit | 4f0169e94f6d3afd991f386567330a5497757262 (patch) | |
| tree | 14c63e1bfd9735993e0c73fcd489daf3349da13e /docs/ref | |
| parent | 9d1945df8fe8bec6cec8d6e4c69216655262d985 (diff) | |
[5.1.x] Tweaked docs to avoid reformatting given new black version.
Backport of fd3cfd80bebad292d639a03e58632e494369eb92 from main.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/postgres/aggregates.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/ref/contrib/postgres/aggregates.txt b/docs/ref/contrib/postgres/aggregates.txt index 2675a90af2..edaf032ffa 100644 --- a/docs/ref/contrib/postgres/aggregates.txt +++ b/docs/ref/contrib/postgres/aggregates.txt @@ -49,11 +49,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()) .. versionchanged:: 5.0 |
