summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-12-06 08:25:16 -0700
committerCasey Duncan <casey.duncan@gmail.com>2010-12-06 08:25:16 -0700
commit0d5818a63033514598f246325bc16ffbf1a98730 (patch)
tree1bddd9f61eedfe0a64833a8f32cec78c68a29a11 /docs
parentd2da2ee8333b7d134b3a50d5dd43c72ba029522f (diff)
downloadpyramid-0d5818a63033514598f246325bc16ffbf1a98730.tar.gz
pyramid-0d5818a63033514598f246325bc16ffbf1a98730.tar.bz2
pyramid-0d5818a63033514598f246325bc16ffbf1a98730.zip
clarify paragraph
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/handlers.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/narr/handlers.rst b/docs/narr/handlers.rst
index 0dce6afe4..dc8c71594 100644
--- a/docs/narr/handlers.rst
+++ b/docs/narr/handlers.rst
@@ -19,12 +19,13 @@ predicate` to control which method of the handler is called.
:term:`url dispatch`. The concept of a view handler is analogous to a
"controller" in Pylons 1.0.
-The view handler class is initialized by :app:`Pyramid` in the same manner as
-a view class. Its ``__init__`` is called with a request object (see
-:ref:`class_as_view`) when a request enters the system which corresponds with
-a view handler registration made during configuration. A method of the view
-handler class is then called. The method which is called depends on the view
-handler configuration.
+The view handler class is initialized by :app:`Pyramid` in the same
+manner as a view class. Its ``__init__`` is called with a request
+object (see :ref:`class_as_view`) as its argument when a request enters
+the system which corresponds with a view handler registration made
+during configuration. After the view handler class is instantiated, a
+method on the instance is called. The method which is called depends on
+the view handler configuration.
The :meth:`pyramid.configuration.Configurator.add_handler` method will scan
the handler class and automatically set up views for methods that are