From 8373de5fad2ea0ced5411be37596e014e33a24af Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Sat, 27 Nov 2010 23:34:12 -0700 Subject: remove lie about json renderer calling view result --- docs/narr/views.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/narr/views.rst b/docs/narr/views.rst index 4ac825613..d5dbce328 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -429,9 +429,8 @@ attributes by attaching properties to the request. See ``json``: JSON Renderer +++++++++++++++++++++++ -The ``json`` renderer is a renderer which renders view callable -results to :term:`JSON`. If a view callable returns a non-Response -object it is called. It passes the return value through the +The ``json`` renderer renders view callable +results to :term:`JSON`. It passes the return value through the ``json.dumps`` standard library function, and wraps the result in a response object. It also sets the response content-type to ``application/json``. -- cgit v1.2.3