mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +00:00
Refs #14357 -- Made Meta.ordering not affect GROUP BY queries.
Per deprecation timeline.
This commit is contained in:
parent
d17be88afd
commit
0ddb4ebf7b
7 changed files with 7 additions and 54 deletions
|
@ -284,10 +284,6 @@ Django quotes column and table names behind the scenes.
|
|||
|
||||
ordering = [F('author').asc(nulls_last=True)]
|
||||
|
||||
Default ordering also affects :ref:`aggregation queries
|
||||
<aggregation-ordering-interaction>` but this won't be the case starting
|
||||
in Django 3.1.
|
||||
|
||||
.. 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