mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #7098 -- Deprecated passing raw column aliases to order_by().
Now that order_by() has expression support passing RawSQL() can achieve the same result. This was also already supported through QuerySet.extra(order_by) for years but this API is more or less deprecated at this point.
This commit is contained in:
parent
4237050684
commit
98ea4f0f46
4 changed files with 44 additions and 4 deletions
|
@ -69,6 +69,9 @@ details on these changes.
|
|||
* ``django.views.generic.TemplateView`` will no longer pass URL kwargs directly
|
||||
to the ``context``.
|
||||
|
||||
* Support for passing raw column aliases to ``QuerySet.order_by()`` will be
|
||||
removed.
|
||||
|
||||
See the :ref:`Django 3.1 release notes <deprecated-features-3.1>` for more
|
||||
details on these changes.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue