From 6717ccbcd7f481e2a15c4ba318ccf6d63a1b7649 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 19 Apr 2011 01:06:10 -0400 Subject: rendering --- docs/api/request.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/api/request.rst') 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 -- cgit v1.2.3