From bb2b4acc7a8435e204b772954995487e87866ef9 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 18 Jan 2015 14:30:07 -0500 Subject: [PATCH] [1.7.x] Added deprecation docs for legacy lookup support; refs #16187. Backport of 8e435a564034c59ac408ec71283d8ac6ede2ce1f from master --- docs/internals/deprecation.txt | 3 +++ docs/releases/1.7.txt | 7 +++++++ 2 files changed, 10 insertions(+) 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 `. + .. removed-features-1.7: Features removed in 1.7