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

This commit is contained in:
Tim Graham 2015-01-18 14:30:07 -05:00
parent 4a5512a61d
commit 8e435a5640
2 changed files with 10 additions and 0 deletions

View File

@ -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

View File

@ -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