summaryrefslogtreecommitdiff
path: root/docs/narr/renderers.rst
diff options
context:
space:
mode:
authorKarl O. Pinc <kop@meme.com>2013-10-07 22:08:16 -0500
committerKarl O. Pinc <kop@meme.com>2013-10-07 22:08:16 -0500
commita274ed67afab341fe54c0a57328e0e810a7c90dc (patch)
treefeeb80189b077285909926e48daa15aa9f251f71 /docs/narr/renderers.rst
parent6461f60320106b5114bb7f226959c7d7f2995ec2 (diff)
parentcba6a8d33f674a1f873851a80358972184544d71 (diff)
downloadpyramid-a274ed67afab341fe54c0a57328e0e810a7c90dc.tar.gz
pyramid-a274ed67afab341fe54c0a57328e0e810a7c90dc.tar.bz2
pyramid-a274ed67afab341fe54c0a57328e0e810a7c90dc.zip
Merge branch 'master' into doc_interactive_dev
Diffstat (limited to 'docs/narr/renderers.rst')
-rw-r--r--docs/narr/renderers.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/narr/renderers.rst b/docs/narr/renderers.rst
index 4046c67fa..740c81555 100644
--- a/docs/narr/renderers.rst
+++ b/docs/narr/renderers.rst
@@ -56,10 +56,12 @@ serialization techniques. In practice, renderers obtain application data
values from Python dictionaries so, in practice, view callables which use
renderers return Python dictionaries.
-View configuration can vary the renderer associated with a view callable via
-the ``renderer`` attribute. For example, this call to
-:meth:`~pyramid.config.Configurator.add_view` associates the ``json`` renderer
-with a view callable:
+View callables can :ref:`explicitly call <example_render_to_response_call>`
+renderers, but typically don't. Instead view configuration declares the
+renderer used to render a view callable's results. This is done with the
+``renderer`` attribute. For example, this call to
+:meth:`~pyramid.config.Configurator.add_view` associates the ``json``
+renderer with a view callable:
.. code-block:: python