mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #26925 -- Linked aggregation ordering topic from Meta.ordering docs.
This commit is contained in:
parent
348cfccd90
commit
3aaf6cf0f3
2 changed files with 5 additions and 0 deletions
|
@ -300,6 +300,9 @@ Django quotes column and table names behind the scenes.
|
|||
|
||||
ordering = ['-pub_date', 'author']
|
||||
|
||||
Default ordering also affects :ref:`aggregation queries
|
||||
<aggregation-ordering-interaction>`.
|
||||
|
||||
.. warning::
|
||||
|
||||
Ordering is not a free operation. Each field you add to the ordering
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue