diff options
| author | Chris McDonough <chrism@plope.com> | 2012-09-16 03:54:28 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-09-16 03:54:28 -0400 |
| commit | 401b371e7933f48e4fac2627fa54f85ff9f0a9f0 (patch) | |
| tree | e6398a67619d29161d46f96df646cb736a73f4c7 /docs/whatsnew-1.4.rst | |
| parent | fa4672fcb490dd0767fed10c557734b43cd845b8 (diff) | |
| parent | 64452edb014423054d1bbc0bb3ed8a3e47b6f611 (diff) | |
| download | pyramid-401b371e7933f48e4fac2627fa54f85ff9f0a9f0.tar.gz pyramid-401b371e7933f48e4fac2627fa54f85ff9f0a9f0.tar.bz2 pyramid-401b371e7933f48e4fac2627fa54f85ff9f0a9f0.zip | |
Merge branch 'feature.subrequest'
Diffstat (limited to 'docs/whatsnew-1.4.rst')
| -rw-r--r-- | docs/whatsnew-1.4.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/whatsnew-1.4.rst b/docs/whatsnew-1.4.rst index 58a44202c..8e333bf5d 100644 --- a/docs/whatsnew-1.4.rst +++ b/docs/whatsnew-1.4.rst @@ -65,6 +65,14 @@ Partial Mako and Chameleon Template Renderings defined as ``macroname`` within the ``template.pt`` template instead of the entire templae. +Subrequest Support +~~~~~~~~~~~~~~~~~~ + +- Developers may invoke a subrequest by using the + :meth:`pyramid.request.Request.invoke_subrequest` API. This allows a + developer to obtain a response from one view callable by issuing a subrequest + from within a different view callable. + Minor Feature Additions ----------------------- @@ -222,6 +230,12 @@ Backwards Incompatibilities * ``registerSettings``, use :meth:`pyramid.config.Configurator.add_settings` instead. +- In Pyramid 1.3 and previous, the ``__call__`` method of a Response object + returned by a view was invoked before any finished callbacks were executed. + As of this release, the ``__call__`` method of a Response object is invoked + *after* finished callbacks are executed. This is in support of the + :meth:`pyramid.request.Request.invoke_subrequest` feature. + Deprecations ------------ @@ -239,6 +253,8 @@ Documentation Enhancements how to show Pyramid-generated deprecation warnings while running tests and while running a server. +- Added a :ref:`subrequest_chapter` chapter to the narrative documentation. + - Many cleanups and improvements to narrative and API docs. Dependency Changes |
