diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-05-31 03:13:13 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-05-31 03:13:13 +0000 |
| commit | 4936f862588240c51e619a65aa5d574ba29d784b (patch) | |
| tree | f73f81fa6f2603773948598218d32d74c6475ee2 /docs/tutorials | |
| parent | 964b7852d997f6c4aa4b04d54f2847095e4461e8 (diff) | |
| download | pyramid-4936f862588240c51e619a65aa5d574ba29d784b.tar.gz pyramid-4936f862588240c51e619a65aa5d574ba29d784b.tar.bz2 pyramid-4936f862588240c51e619a65aa5d574ba29d784b.zip | |
Features
--------
- It is now possible to register a custom
``repoze.bfg.interfaces.INotFoundView`` for a given application.
This feature replaces the
``repoze.bfg.interfaces.INotFoundAppFactory`` feature previously
described in the Hooks chapter. The INotFoundView will be called
when the framework detects that a view lookup done as a result of a
reqest fails; it should accept a context object and a request
object; it should return an IResponse object (a webob response,
basically). See the Hooks narrative chapter of the BFG docs for
more info.
Deprecations
------------
- The ``repoze.bfg.interfaces.IUnauthorizedAppFactory`` interface has
been deprecated in favor of using the new
``repoze.bfg.interfaces.IForbiddenResponseFactory`` mechanism.
Diffstat (limited to 'docs/tutorials')
0 files changed, 0 insertions, 0 deletions
