diff options
| author | Chris McDonough <chrism@plope.com> | 2012-09-16 03:54:08 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-09-16 03:54:08 -0400 |
| commit | 64452edb014423054d1bbc0bb3ed8a3e47b6f611 (patch) | |
| tree | e6398a67619d29161d46f96df646cb736a73f4c7 /docs/whatsnew-1.4.rst | |
| parent | b895defdcecbf9d758ad92b1bbf6a49f21620c8a (diff) | |
| download | pyramid-64452edb014423054d1bbc0bb3ed8a3e47b6f611.tar.gz pyramid-64452edb014423054d1bbc0bb3ed8a3e47b6f611.tar.bz2 pyramid-64452edb014423054d1bbc0bb3ed8a3e47b6f611.zip | |
rename subrequest to invoke_subrequest
Diffstat (limited to 'docs/whatsnew-1.4.rst')
| -rw-r--r-- | docs/whatsnew-1.4.rst | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/whatsnew-1.4.rst b/docs/whatsnew-1.4.rst index 70d5f12a7..8e333bf5d 100644 --- a/docs/whatsnew-1.4.rst +++ b/docs/whatsnew-1.4.rst @@ -69,9 +69,9 @@ Subrequest Support ~~~~~~~~~~~~~~~~~~ - Developers may invoke a subrequest by using the - :meth:`pyramid.request.Request.subrequest` API. This allows a developer to - obtain a response from one view callable by issuing a subrequest from within - a different view callable. + :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 ----------------------- @@ -230,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 ------------ |
