summaryrefslogtreecommitdiff
path: root/docs/narr/viewconfig.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-07-20 06:10:38 -0400
committerChris McDonough <chrism@plope.com>2011-07-20 06:10:38 -0400
commit6ce1e0cf1a141767ee0aca70786c15dd993347c5 (patch)
treeed279497d354709b63d0fdc2c1e71cb88c424df7 /docs/narr/viewconfig.rst
parent9dfd3436711d6ef5f4a759f43acca859a9391c26 (diff)
downloadpyramid-6ce1e0cf1a141767ee0aca70786c15dd993347c5.tar.gz
pyramid-6ce1e0cf1a141767ee0aca70786c15dd993347c5.tar.bz2
pyramid-6ce1e0cf1a141767ee0aca70786c15dd993347c5.zip
add more index markers
Diffstat (limited to 'docs/narr/viewconfig.rst')
-rw-r--r--docs/narr/viewconfig.rst15
1 files changed, 14 insertions, 1 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst
index 54d3fc4ff..94b80a3f2 100644
--- a/docs/narr/viewconfig.rst
+++ b/docs/narr/viewconfig.rst
@@ -20,6 +20,10 @@ In earlier chapters, you have been exposed to a few simple view configuration
declarations without much explanation. In this chapter we will explore the
subject in detail.
+.. index::
+ pair: resource; mapping to view callable
+ pair: URL pattern; mapping to view callable
+
Mapping a Resource or URL Pattern to a View Callable
----------------------------------------------------
@@ -41,6 +45,9 @@ View configuration is performed in one of two ways:
- by using the :meth:`pyramid.config.Configurator.add_view` method as per
:ref:`mapping_views_using_imperative_config_section`.
+.. index::
+ single: view configuration parameters
+
.. _view_configuration_parameters:
View Configuration Parameters
@@ -475,6 +482,9 @@ form of :term:`declarative configuration`, while
:meth:`pyramid.config.Configurator.add_view` is a form of :term:`imperative
configuration`. However, they both do the same thing.
+.. index::
+ single: view_config placement
+
``@view_config`` Placement
++++++++++++++++++++++++++
@@ -822,7 +832,10 @@ headers that your application code itself sets. It will only prevent caching
headers that would have been set by the Pyramid HTTP caching machinery
invoked as the result of the ``http_cache`` argument to view configuration.
-Debugging View Configuration
+.. index::
+ pair: view configuration; debugging
+
+ebugging View Configuration
----------------------------
See :ref:`displaying_matching_views` for information about how to display