diff options
| author | Chris McDonough <chrism@plope.com> | 2010-11-09 03:54:45 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-11-09 03:54:45 -0500 |
| commit | fd5ae92bd218b72a7a923e406eee023afe024dc0 (patch) | |
| tree | 17fd402d2d06a0360f813e682e73bb780874a2a4 /docs/narr/handlers.rst | |
| parent | f383367b91b02b28e2beec8132241003aacbedfd (diff) | |
| download | pyramid-fd5ae92bd218b72a7a923e406eee023afe024dc0.tar.gz pyramid-fd5ae92bd218b72a7a923e406eee023afe024dc0.tar.bz2 pyramid-fd5ae92bd218b72a7a923e406eee023afe024dc0.zip | |
- 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)
Diffstat (limited to 'docs/narr/handlers.rst')
| -rw-r--r-- | docs/narr/handlers.rst | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
