diff options
| author | Chris McDonough <chrism@plope.com> | 2011-07-21 22:05:58 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-07-21 22:05:58 -0400 |
| commit | 9006b205d907b0b52b59de0eb1e203afdcdbdd51 (patch) | |
| tree | 70b371de8d75b5bf2e9a064c25a8f33ad1de139d /docs/whatsnew-1.1.rst | |
| parent | aa2fe1b0a02ba4edde4d285ec0a5a6ec545b7fec (diff) | |
| download | pyramid-9006b205d907b0b52b59de0eb1e203afdcdbdd51.tar.gz pyramid-9006b205d907b0b52b59de0eb1e203afdcdbdd51.tar.bz2 pyramid-9006b205d907b0b52b59de0eb1e203afdcdbdd51.zip | |
add nullrenderer to whatsnew
Diffstat (limited to 'docs/whatsnew-1.1.rst')
| -rw-r--r-- | docs/whatsnew-1.1.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/whatsnew-1.1.rst b/docs/whatsnew-1.1.rst index 9e6d7b5ae..6761aaff8 100644 --- a/docs/whatsnew-1.1.rst +++ b/docs/whatsnew-1.1.rst @@ -317,6 +317,16 @@ Minor Feature Additions has a ``last`` attribute containing the last registry loaded. This is used by the scripting machinery, and is available for introspection. +- Added the :attr:`pyramid.renderers.null_renderer` object as an API. The + null renderer is an object that can be used in advanced integration cases + as input to the view configuration ``renderer=`` argument. When the null + renderer is used as a view renderer argument, Pyramid avoids converting the + view callable result into a Response object. This is useful if you want to + reuse the view configuration and lookup machinery outside the context of + its use by the Pyramid router. (This feature was added for consumption by + the ``pyramid_rpc`` package, which uses view configuration and lookup + outside the context of a router in exactly this way.) + Backwards Incompatibilities --------------------------- |
