diff options
| author | Chris McDonough <chrism@plope.com> | 2013-10-08 12:41:36 +0200 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-10-08 12:41:36 +0200 |
| commit | 39417d93441c5a46896fb765599e25bd1c1aa6db (patch) | |
| tree | c5d3e77b3121addcf4062a78490d503b1aa10d14 /docs/narr/renderers.rst | |
| parent | 9951556030aeed07978472f59b7843273bcb84a8 (diff) | |
| parent | 6a3eed4ddc4178d19c0002ec72b9a1d6494e01ae (diff) | |
| download | pyramid-39417d93441c5a46896fb765599e25bd1c1aa6db.tar.gz pyramid-39417d93441c5a46896fb765599e25bd1c1aa6db.tar.bz2 pyramid-39417d93441c5a46896fb765599e25bd1c1aa6db.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/renderers.rst')
| -rw-r--r-- | docs/narr/renderers.rst | 10 |
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 |
