diff options
| author | Chris McDonough <chrism@plope.com> | 2011-06-14 02:36:07 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-06-14 02:36:07 -0400 |
| commit | 1a6fc7062f803b9f15b7677db9a9257a4f00bfcb (patch) | |
| tree | 47048dadf66f6aad3c6ef9ef9752c11d9338e827 /CHANGES.txt | |
| parent | 3f4f67e76c2e1338377babd983e4071f52235132 (diff) | |
| download | pyramid-1a6fc7062f803b9f15b7677db9a9257a4f00bfcb.tar.gz pyramid-1a6fc7062f803b9f15b7677db9a9257a4f00bfcb.tar.bz2 pyramid-1a6fc7062f803b9f15b7677db9a9257a4f00bfcb.zip | |
- Added new add_response_adapter method to Configurator.
- Fix Configurator docstring wrt exception responses.
- Speed up registry.queryAdapterOrSelf
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 5e8df1a0b..c7ca3794d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -130,8 +130,10 @@ Features - It is now possible to return an arbitrary object from a Pyramid view callable even if a renderer is not used, as long as a suitable adapter to ``pyramid.interfaces.IResponse`` is registered for the type of the returned - object. See the section in the Hooks chapter of the documentation entitled - "Changing How Pyramid Treats View Responses". + object by using the new + ``pyramid.config.Configurator.add_response_adapter`` API. See the section + in the Hooks chapter of the documentation entitled "Changing How Pyramid + Treats View Responses". - The Pyramid router will now, by default, call the ``__call__`` method of WebOb response objects when returning a WSGI response. This means that, |
