[1.8.x] Added deprecation docs for legacy lookup support; refs #16187.

Backport of 8e435a5640 from master
This commit is contained in:
Tim Graham 2015-01-18 14:30:07 -05:00
parent 6eddaa42c3
commit 0b3e3e21cf
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

@ -1780,6 +1780,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