summaryrefslogtreecommitdiff
path: root/docs/api/request.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-04-19 01:06:10 -0400
committerChris McDonough <chrism@plope.com>2011-04-19 01:06:10 -0400
commit6717ccbcd7f481e2a15c4ba318ccf6d63a1b7649 (patch)
tree5c9d94ac9d58b1f9db6895abe904437ced026713 /docs/api/request.rst
parentf0c8473e2c0c7ea45bc169d59291ea68a0855259 (diff)
downloadpyramid-6717ccbcd7f481e2a15c4ba318ccf6d63a1b7649.tar.gz
pyramid-6717ccbcd7f481e2a15c4ba318ccf6d63a1b7649.tar.bz2
pyramid-6717ccbcd7f481e2a15c4ba318ccf6d63a1b7649.zip
rendering
Diffstat (limited to 'docs/api/request.rst')
-rw-r--r--docs/api/request.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst
index 38971295f..91bf0b858 100644
--- a/docs/api/request.rst
+++ b/docs/api/request.rst
@@ -100,7 +100,7 @@
attributes (e.g. by calling ``request.response.set_cookie(...)`` or
``request.response.content_type = 'text/plain'``, etc) within a view
that uses a renderer. For example, within a view that uses a
- :term:`renderer`:
+ :term:`renderer`::
response = request.response
response.set_cookie('mycookie', 'mine, all mine!')
@@ -117,8 +117,8 @@
response.content_type = 'text/plain'
return response
- Note that the response in this circumstance is not "global"; it still
- must be returned from the view code if a renderer is not used.
+ Note that the response in this circumstance is not "global"; it still
+ must be returned from the view code if a renderer is not used.
.. attribute:: session