diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2011-01-02 23:45:33 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2011-01-02 23:45:33 -0700 |
| commit | 8a1b50bc4027e25d5450cc6968f1f005af9d389f (patch) | |
| tree | 2e689e6e34f6b2a23021aa886004f4baabce0007 /docs/narr/urldispatch.rst | |
| parent | bb9a3783046db24b2fda6787c232d4168d256729 (diff) | |
| download | pyramid-8a1b50bc4027e25d5450cc6968f1f005af9d389f.tar.gz pyramid-8a1b50bc4027e25d5450cc6968f1f005af9d389f.tar.bz2 pyramid-8a1b50bc4027e25d5450cc6968f1f005af9d389f.zip | |
Split view chapter, move view config after templates, some reordering in view config
Diffstat (limited to 'docs/narr/urldispatch.rst')
| -rw-r--r-- | docs/narr/urldispatch.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index c0b132a04..e64513a96 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -26,7 +26,7 @@ specific bit of code, defined in your application, that receives the :term:`request` and returns a :term:`response` object. Where appropriate, we will describe how view lookup interacts with -:term:`resource location`. The :ref:`views_chapter` chapter describes +:term:`resource location`. The :ref:`view_config_chapter` chapter describes the details of :term:`view lookup`. High-Level Operational Overview @@ -95,7 +95,7 @@ Route Configuration That Names a View Callable When a route configuration declaration names a ``view`` attribute, the value of the attribute will reference a :term:`view callable`. This view callable will be invoked when the route matches. A view callable, as described in -:ref:`views_chapter`, is developer-supplied code that "does stuff" as the +:ref:`view_chapter`, is developer-supplied code that "does stuff" as the result of a request. For more information about how to create view callables, see :ref:`views_chapter`. @@ -865,7 +865,8 @@ The ``mypackage.views`` module referred to above might look like so: The view has access to the matchdict directly via the request, and can access variables within it that match keys present as a result of the route pattern. -See :ref:`views_chapter` for more information about views. +See :ref:`views_chapter`, and :ref:`view_config_chapter` for more +information about views. Example 2 ~~~~~~~~~ |
