diff options
| author | Chris McDonough <chrism@plope.com> | 2012-10-08 17:34:43 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-10-08 17:34:43 -0400 |
| commit | 2aed2c783a99efaa48b145d174347c9512e40c5a (patch) | |
| tree | 11ab8f12072353e7e324e66bda5914c78cd5c1ea /docs/narr/views.rst | |
| parent | a9f5e705bb331098946eef774857511a02e4f498 (diff) | |
| parent | 1273d56ee5c038f447dce0525844cd3ea6c15e4d (diff) | |
| download | pyramid-2aed2c783a99efaa48b145d174347c9512e40c5a.tar.gz pyramid-2aed2c783a99efaa48b145d174347c9512e40c5a.tar.bz2 pyramid-2aed2c783a99efaa48b145d174347c9512e40c5a.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/views.rst')
| -rw-r--r-- | docs/narr/views.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/narr/views.rst b/docs/narr/views.rst index 9e41464a6..07d018127 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -338,6 +338,16 @@ exception views which have a name will be ignored. Exception views can be configured with any view registration mechanism: ``@view_config`` decorator or imperative ``add_view`` styles. +.. note:: + + Pyramid's :term:`exception view` handling logic is implemented as a tween + factory function: :func:`pyramid.tweens.excview_tween_factory`. If + Pyramid exception view handling is desired, and tween factories are + specified via the ``pyramid.tweens`` configuration setting, the + :func:`pyramid.tweens.excview_tween_factory` function must be added to the + ``pyramid.tweens`` configuration setting list explicitly. If it is not + present, Pyramid will not perform exception view handling. + .. index:: single: view http redirect single: http redirect (from a view) |
