summaryrefslogtreecommitdiff
path: root/docs/ref/template-response.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/template-response.txt')
-rw-r--r--docs/ref/template-response.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/template-response.txt b/docs/ref/template-response.txt
index 1b92d73d48..0064290d4e 100644
--- a/docs/ref/template-response.txt
+++ b/docs/ref/template-response.txt
@@ -119,6 +119,10 @@ Methods
rendered :class:`~django.template.response.SimpleTemplateResponse`
instance.
+ If the callback returns a value that is not `None`, this will be
+ used as the response instead of the original response object (and
+ will be passed to the next post rendering callback etc.)
+
.. method:: SimpleTemplateResponse.render():
Sets :attr:`response.content` to the result obtained by