diff options
| author | Chris McDonough <chrism@plope.com> | 2013-10-02 16:46:18 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-10-02 16:46:18 -0400 |
| commit | ec1a74ba26d5fc8f7cc4ca4034780a558fd6e8c3 (patch) | |
| tree | 1c61543d718d5c9fa04c13ddde0b841e41dfc807 /docs/narr/renderers.rst | |
| parent | 39f91d2c2f334eed78d294549a8c654da0a035e4 (diff) | |
| parent | aed934ba599dac9af088d4926bf9ee1bf0c807e7 (diff) | |
| download | pyramid-ec1a74ba26d5fc8f7cc4ca4034780a558fd6e8c3.tar.gz pyramid-ec1a74ba26d5fc8f7cc4ca4034780a558fd6e8c3.tar.bz2 pyramid-ec1a74ba26d5fc8f7cc4ca4034780a558fd6e8c3.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 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 |
