diff options
| author | Chris McDonough <chrism@plope.com> | 2011-07-21 22:02:37 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-07-21 22:02:37 -0400 |
| commit | aa2fe1b0a02ba4edde4d285ec0a5a6ec545b7fec (patch) | |
| tree | 72511de87df7b6369a073434e1fe2c38c1624a13 /CHANGES.txt | |
| parent | 73c0aee5571bbdd7273033eda3a798d5597a76af (diff) | |
| download | pyramid-aa2fe1b0a02ba4edde4d285ec0a5a6ec545b7fec.tar.gz pyramid-aa2fe1b0a02ba4edde4d285ec0a5a6ec545b7fec.tar.bz2 pyramid-aa2fe1b0a02ba4edde4d285ec0a5a6ec545b7fec.zip | |
- Added the ``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. ``pyramid_rpc`` has
been broken under 1.1 since 1.1b1; adding it allows us to make it work
again.
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index bb5828811..5e2fb2970 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,21 @@ Next release ============ +Features +-------- + +- Added the ``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. ``pyramid_rpc`` has + been broken under 1.1 since 1.1b1; adding it allows us to make it work + again. + Internals --------- |
