mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries.
Thanks Ramiro Morales for contributing to the patch.
This commit is contained in:
parent
c52ecbda61
commit
1b1f64ee5a
9 changed files with 80 additions and 16 deletions
|
@ -285,7 +285,8 @@ 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>`.
|
||||
<aggregation-ordering-interaction>` but this won't be the case starting
|
||||
in Django 3.1.
|
||||
|
||||
.. warning::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue