diff options
| author | Chris McDonough <chrism@plope.com> | 2013-10-02 19:02:46 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-10-02 19:02:46 -0400 |
| commit | 95d032468d5d445c64f6065e4b4b2889fa853e31 (patch) | |
| tree | 66bb56b03f2df802dd0836d017a59f993bcf86c8 /docs/narr/renderers.rst | |
| parent | 66be39bf656a2840931603bc959e38ff95e53164 (diff) | |
| parent | 61d1f729f4d9cc17a5fbcff0612512bc9f5fe7a2 (diff) | |
| download | pyramid-95d032468d5d445c64f6065e4b4b2889fa853e31.tar.gz pyramid-95d032468d5d445c64f6065e4b4b2889fa853e31.tar.bz2 pyramid-95d032468d5d445c64f6065e4b4b2889fa853e31.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 |
