diff options
| author | Tim Graham <timograham@gmail.com> | 2015-12-22 10:21:24 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-23 10:50:55 -0500 |
| commit | d162b0bcd8367cc2ddf1ccd613a80a2e82c3b262 (patch) | |
| tree | df67425e80a07513cdf654d4ea1afc90e9f190d0 /docs/internals | |
| parent | 2f205e073bbcafc3e2708a0d9c70e0727f9916fb (diff) | |
[1.9.x] Fixed #25969 -- Replaced render_to_response() with render() in docs examples.
Backport of 4d83b0163e15f8352fd17fa121e929842ff2b686 from master
Diffstat (limited to 'docs/internals')
| -rw-r--r-- | docs/internals/deprecation.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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, |
