Commit 8e435a56 authored by Tim Graham's avatar Tim Graham
Browse files

Added deprecation docs for legacy lookup support; refs #16187.

parent 4a5512a6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -298,6 +298,9 @@ details on these changes.

* The ``django.contrib.contenttypes.generic`` module will be removed.

* Private APIs ``django.db.models.sql.where.WhereNode.make_atom()`` and
  ``django.db.models.sql.where.Constraint`` will be removed.

.. _deprecation-removed-in-1.8:

1.8
+7 −0
Original line number Diff line number Diff line
@@ -1779,6 +1779,13 @@ Django 1.9.
Django no longer uses this functional internally. Even though it's a private
API, it'll go through the normal deprecation cycle.

Private Query Lookup APIs
~~~~~~~~~~~~~~~~~~~~~~~~~

Private APIs ``django.db.models.sql.where.WhereNode.make_atom()`` and
``django.db.models.sql.where.Constraint`` are deprecated in favor of the new
:doc:`custom lookups API </ref/models/lookups>`.

.. removed-features-1.7:

Features removed in 1.7