diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/sitemaps.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index 6d8fe61f35..300c142f0b 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/docs/ref/contrib/sitemaps.txt @@ -313,6 +313,15 @@ parameter to the ``sitemap`` and ``index`` views via the URLconf:: }), ) + +.. versionchanged:: 1.4 + + In addition, these views also return + :class:`~django.template.response.TemplateResponse` + instances which allow you to easily customize the response data before + rendering. For more details, see the + :doc:`TemplateResponse documentation </ref/template-response>`. + Context variables ------------------ |
