[5.2.x] Tweaked docs to avoid reformatting given new black version.

Backport of fd3cfd80be from main.
This commit is contained in:
nessita 2025-01-30 10:37:14 -03:00 committed by Natalia
parent 77f9e6bcd3
commit b406907af5
2 changed files with 8 additions and 9 deletions

View file

@ -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