mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Tweaked docs to avoid reformatting given new black version.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user