From d162b0bcd8367cc2ddf1ccd613a80a2e82c3b262 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 22 Dec 2015 10:21:24 -0500 Subject: [1.9.x] Fixed #25969 -- Replaced render_to_response() with render() in docs examples. Backport of 4d83b0163e15f8352fd17fa121e929842ff2b686 from master --- docs/internals/deprecation.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/internals') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 3694ea286d..024908554c 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -529,8 +529,8 @@ details on these changes. :class:`~django.template.response.SimpleTemplateResponse`, and :class:`~django.template.response.TemplateResponse`, will be removed. ``content_type`` should be used instead. This also applies to the - :func:`~django.shortcuts.render_to_response` shortcut and - the sitemap views, :func:`~django.contrib.sitemaps.views.index` and + ``render_to_response()`` shortcut and the sitemap views, + :func:`~django.contrib.sitemaps.views.index` and :func:`~django.contrib.sitemaps.views.sitemap`. * When :class:`~django.http.HttpResponse` is instantiated with an iterator, -- cgit v1.3