summaryrefslogtreecommitdiff
path: root/docs/ref/template-response.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-02-01 11:54:26 -0500
committerTim Graham <timograham@gmail.com>2016-02-01 11:54:26 -0500
commita9fbf0735a213109ef4b02e02ff3e458b6a25929 (patch)
treec9ac521f09711d087e1c501b8427bb102d268fed /docs/ref/template-response.txt
parentd7a6086825d4a308955e792f65fdd9b5f714a505 (diff)
[1.9.x] Fixed #26124 -- Added missing code formatting to docs headers.
Backport of a6ef025dfb2a1d1bd23893408eef6d066fb506d9 from master
Diffstat (limited to 'docs/ref/template-response.txt')
-rw-r--r--docs/ref/template-response.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/docs/ref/template-response.txt b/docs/ref/template-response.txt
index 187e814192..95595a0afa 100644
--- a/docs/ref/template-response.txt
+++ b/docs/ref/template-response.txt
@@ -1,6 +1,6 @@
-===========================================
-TemplateResponse and SimpleTemplateResponse
-===========================================
+===================================================
+``TemplateResponse`` and ``SimpleTemplateResponse``
+===================================================
.. module:: django.template.response
:synopsis: Classes dealing with lazy-rendered HTTP responses.
@@ -21,8 +21,8 @@ the details of the template and context that was provided by the view to
compute the response. The final output of the response is not computed until
it is needed, later in the response process.
-SimpleTemplateResponse objects
-==============================
+``SimpleTemplateResponse`` objects
+==================================
.. class:: SimpleTemplateResponse()
@@ -177,8 +177,8 @@ Methods
subsequent calls, it will return the result obtained from the first call.
-TemplateResponse objects
-========================
+``TemplateResponse`` objects
+============================
.. class:: TemplateResponse()
@@ -340,8 +340,8 @@ has been rendered, and will be provided the fully rendered
If the template has already been rendered, the callback will be
invoked immediately.
-Using TemplateResponse and SimpleTemplateResponse
-=================================================
+Using ``TemplateResponse`` and ``SimpleTemplateResponse``
+=========================================================
A :class:`TemplateResponse` object can be used anywhere that a normal
:class:`django.http.HttpResponse` can be used. It can also be used as an