From 501546df6f4cbb56ea94da073e8206804fef3040 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Sun, 10 Oct 2010 02:16:33 +0000 Subject: Fixed #12226 -- Deprecated test client Response.template attribute in favor of templates attribute, which is always a list. Thanks Russell for patch review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14106 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/internals/deprecation.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/internals') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index b313871128..edd3a1d2ec 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -102,6 +102,12 @@ their deprecation, as per the :ref:`Django deprecation policy * The ``mod_python`` request handler has been deprecated since the 1.3 release. The ``mod_wsgi`` handler should be used instead. + * The ``template`` attribute on :class:`~django.test.client.Response` + objects returned by the :ref:`test client ` has been + deprecated since the 1.3 release. The + :attr:`~django.test.client.Response.templates` attribute should be + used instead. + * 2.0 * ``django.views.defaults.shortcut()``. This function has been moved to ``django.contrib.contenttypes.views.shortcut()`` as part of the -- cgit v1.3