Fixed #32951 -- Removed Query.where_class & co.

Unused since 3caf957ed5.
This commit is contained in:
Nick Pope 2021-07-20 20:38:17 +01:00 committed by Mariusz Felisiak
parent 012f38f959
commit c35b81b864
10 changed files with 29 additions and 25 deletions

View file

@ -504,6 +504,11 @@ Miscellaneous
individual nodes to a string. ``Node.render()`` should always return a string
as documented.
* The ``where_class`` property of ``django.db.models.sql.query.Query`` and the
``where_class`` argument to the private ``get_extra_restriction()`` method of
``ForeignObject`` and ``ForeignObjectRel`` are removed. If needed, initialize
``django.db.models.sql.where.WhereNode`` instead.
.. _deprecated-features-4.0:
Features deprecated in 4.0