summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-07-01 09:32:26 -0400
committerTim Graham <timograham@gmail.com>2014-07-01 17:29:41 -0400
commit20ec9daf7c2a4460e99a2983d7e32b7db5ee7ce6 (patch)
tree9e0cfa72e3987e87b1bc8ed34271a117147a0f6d /docs
parent232f2028d57bb3b55304d3ea80ab0a06122f0b34 (diff)
Fixed #22933 -- Deprecated django.template.resolve_variable().
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt2
-rw-r--r--docs/releases/1.8.txt7
2 files changed, 9 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index 682cb6101a..cc219343a3 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -42,6 +42,8 @@ about each item can often be found in the release notes of two versions prior.
:class:`~django.core.management.BaseCommand` instead, which takes no arguments
by default.
+* ``django.template.resolve_variable`` will be removed.
+
.. _deprecation-removed-in-1.9:
1.9
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt
index 1eafb3337e..381700557e 100644
--- a/docs/releases/1.8.txt
+++ b/docs/releases/1.8.txt
@@ -525,3 +525,10 @@ instead, which takes no arguments by default.
option ``cache_choices``. This cached querysets between multiple renderings of
the same ``Form`` object. This option is subject to an accelerated deprecation
and will be removed in Django 1.9.
+
+``django.template.resolve_variable()``
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The function has been informally marked as "Deprecated" for some time. Replace
+``resolve_variable(path, context)`` with
+``django.template.Variable(path).resolve(context)``.