mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
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
This commit is contained in:
@@ -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 <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
|
||||
|
||||
Reference in New Issue
Block a user