summaryrefslogtreecommitdiff
path: root/docs/narr/handlers.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-12-09 04:04:39 -0500
committerChris McDonough <chrism@plope.com>2010-12-09 04:04:39 -0500
commite8edd5ff7157c9a11b6478702c1e45bb46f11344 (patch)
tree98ba7a2d4235fcbb86b67c187f84cc39fd6d0add /docs/narr/handlers.rst
parentf360d9e6d9689dfe92a950e97e7e19c414655997 (diff)
downloadpyramid-e8edd5ff7157c9a11b6478702c1e45bb46f11344.tar.gz
pyramid-e8edd5ff7157c9a11b6478702c1e45bb46f11344.tar.bz2
pyramid-e8edd5ff7157c9a11b6478702c1e45bb46f11344.zip
- Add a ``handler`` ZCML directive. This directive does the same thing as
``pyramid.configuration.add_handler``.
Diffstat (limited to 'docs/narr/handlers.rst')
-rw-r--r--docs/narr/handlers.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/narr/handlers.rst b/docs/narr/handlers.rst
index 49dd73f7f..9a5267b2a 100644
--- a/docs/narr/handlers.rst
+++ b/docs/narr/handlers.rst
@@ -86,6 +86,12 @@ This will result one of the methods that are configured for the ``action`` of
handler class not named 'index' might be called if they were configured to be
called when the ``action`` name is 'index' as will be seen below.
+.. note::
+
+ Handler configuration may also be added to the system via :term:`ZCML` (see
+ :ref:`zcml_handler_configuration`).
+
+.. _using_add_handler:
Using :meth:`~pyramid.config.Configurator.add_handler`
-------------------------------------------------------------