From fd5ae92bd218b72a7a923e406eee023afe024dc0 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 9 Nov 2010 03:54:45 -0500 Subject: - All references to Pyramid-the-application were changed from :mod:`pyramid` to :app:`Pyramid`. A custom role setting was added to ``docs/conf.py`` to allow for this. (internal) --- docs/narr/handlers.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/narr/handlers.rst') diff --git a/docs/narr/handlers.rst b/docs/narr/handlers.rst index dcb199bbc..b8e7b5d9b 100644 --- a/docs/narr/handlers.rst +++ b/docs/narr/handlers.rst @@ -3,7 +3,7 @@ View Handlers ============= -Along with normal view callables, :mod:`pyramid` provides the concept of a +Along with normal view callables, :app:`Pyramid` provides the concept of a :term:`view handler`. Using a view handler instead of a plain :term:`view callable` makes it unnecessary to call :meth:`pyramid.configuration.Configurator.add_route` (and/or @@ -19,7 +19,7 @@ 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 :mod:`pyramid` in the same manner as +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 -- cgit v1.2.3