diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-08-09 02:57:35 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-08-09 02:57:35 +0000 |
| commit | 6d412167fce2058770c0fd7c35522657a6683f9c (patch) | |
| tree | 17b3418b245b5fd9b2f0f41596e2f8de74ca11bf /CHANGES.txt | |
| parent | 79c91c8a9d9562be58d5a3e69e42bb29b88ea810 (diff) | |
| download | pyramid-6d412167fce2058770c0fd7c35522657a6683f9c.tar.gz pyramid-6d412167fce2058770c0fd7c35522657a6683f9c.tar.bz2 pyramid-6d412167fce2058770c0fd7c35522657a6683f9c.zip | |
rendering
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 2167deeea..99eea855d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -10,13 +10,13 @@ Features ``repoze.bfg.exceptions.Forbidden``), instances of which are both exception objects and can behave as WSGI response objects. This interface is made public so that exception classes which are also - valid WSGI response factories can be configured to implement them - or exception instances which are also or response instances can be + valid WSGI response factories can be configured to implement them or + exception instances which are also or response instances can be configured to provide them. - New API class: ``repoze.bfg.view.AppendSlashNotFoundViewFactory``. - There can only be one Not Found view in any :mod:`repoze.bfg + There can only be one Not Found view in any ``repoze.bfg`` application. Even if you use ``repoze.bfg.view.append_slash_notfound_view`` as the Not Found view, ``repoze.bfg`` still must generate a ``404 Not Found`` @@ -66,7 +66,7 @@ Internal Those default view functions have been removed, replaced with a generic default view function which is registered at Configurator setup for the ``repoze.bfg.interfaces.IExceptionResponse`` interface - that simply returns the exception instance; the ``NotFound` and + that simply returns the exception instance; the ``NotFound`` and ``Forbidden`` classes are now still exception factories but they are also response factories which generate instances that implement the new ``repoze.bfg.interfaces.IExceptionResponse`` interface. |
