summaryrefslogtreecommitdiff
path: root/docs/narr/views.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-09-16 22:32:26 -0400
committerChris McDonough <chrism@plope.com>2012-09-16 22:32:26 -0400
commitdb2a03786ec76f2c6b7eaebb6f1b7c8b844d8c82 (patch)
tree83c5cbd86fbbb739a7ec497cd84667483af50707 /docs/narr/views.rst
parentdace59817bea583145f6ecf0910712b527ef2d0b (diff)
downloadpyramid-db2a03786ec76f2c6b7eaebb6f1b7c8b844d8c82.tar.gz
pyramid-db2a03786ec76f2c6b7eaebb6f1b7c8b844d8c82.tar.bz2
pyramid-db2a03786ec76f2c6b7eaebb6f1b7c8b844d8c82.zip
make use_tweens=False the default
Diffstat (limited to 'docs/narr/views.rst')
-rw-r--r--docs/narr/views.rst10
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)