summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-18 14:30:07 -0500
committerTim Graham <timograham@gmail.com>2015-01-19 10:45:55 -0500
commitbb2b4acc7a8435e204b772954995487e87866ef9 (patch)
treed3ed7f7dec1264d5f7805b74e23f75a9397d2c87
parent07bd23d3297c214d9119e4e4ed421184597863c5 (diff)
[1.7.x] Added deprecation docs for legacy lookup support; refs #16187.
Backport of 8e435a564034c59ac408ec71283d8ac6ede2ce1f from master
-rw-r--r--docs/internals/deprecation.txt3
-rw-r--r--docs/releases/1.7.txt7
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 1e2a4db37c..252db52101 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -138,6 +138,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
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index a7f40110a0..34e9a09aa0 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -1784,6 +1784,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