summaryrefslogtreecommitdiff
path: root/docs/narr/renderers.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-10-02 13:28:15 -0700
committerChris McDonough <chrism@plope.com>2013-10-02 13:28:15 -0700
commitaed934ba599dac9af088d4926bf9ee1bf0c807e7 (patch)
tree6363600f8e4d5984b0d6b1c6c5a444c31c7b36e4 /docs/narr/renderers.rst
parent66be39bf656a2840931603bc959e38ff95e53164 (diff)
parent47e13e042c270f9ffb3ac86b294e89ec4b1fef6a (diff)
downloadpyramid-aed934ba599dac9af088d4926bf9ee1bf0c807e7.tar.gz
pyramid-aed934ba599dac9af088d4926bf9ee1bf0c807e7.tar.bz2
pyramid-aed934ba599dac9af088d4926bf9ee1bf0c807e7.zip
Merge pull request #1137 from kpinc/doc_render
Doc render
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 3059aef35..4046c67fa 100644
--- a/docs/narr/renderers.rst
+++ b/docs/narr/renderers.rst
@@ -49,10 +49,12 @@ Writing View Callables Which Use a Renderer
-------------------------------------------
As we've seen, a view callable needn't always return a Response object.
-Instead, it may return an arbitrary Python object, with the expectation
-that a :term:`renderer` will convert that object into a response instance on
-your behalf. Some renderers use a templating system; other renderers use
-object serialization techniques.
+Instead, it may return an arbitrary Python object, with the expectation that
+a :term:`renderer` will convert that object into a response instance on your
+behalf. Some renderers use a templating system; other renderers use object
+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