summaryrefslogtreecommitdiff
path: root/docs/narr/viewconfig.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-07-30 01:50:24 -0600
committerMichael Merickel <michael@merickel.org>2011-07-30 01:50:24 -0600
commit875ded31e7fdd0c85d1c91458248581b9dd729d7 (patch)
tree2063e301734ef5a79e308f67a126df48546acf07 /docs/narr/viewconfig.rst
parente1b25974a4dcc9eb9ceab70ec2276043de775f82 (diff)
downloadpyramid-875ded31e7fdd0c85d1c91458248581b9dd729d7.tar.gz
pyramid-875ded31e7fdd0c85d1c91458248581b9dd729d7.tar.bz2
pyramid-875ded31e7fdd0c85d1c91458248581b9dd729d7.zip
Updated all of the docs to reflect the new pyramid.* settings prefix.
Diffstat (limited to 'docs/narr/viewconfig.rst')
-rw-r--r--docs/narr/viewconfig.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/narr/viewconfig.rst b/docs/narr/viewconfig.rst
index d776887c8..a1b12ad2a 100644
--- a/docs/narr/viewconfig.rst
+++ b/docs/narr/viewconfig.rst
@@ -679,10 +679,10 @@ per :ref:`protecting_views`.
It's useful to be able to debug :exc:`NotFound` error responses when they
occur unexpectedly due to an application registry misconfiguration. To debug
these errors, use the ``PYRAMID_DEBUG_NOTFOUND`` environment variable or the
-``debug_notfound`` configuration file setting. Details of why a view was not
-found will be printed to ``stderr``, and the browser representation of the
-error will include the same information. See :ref:`environment_chapter` for
-more information about how, and where to set these values.
+``pyramid.debug_notfound`` configuration file setting. Details of why a view
+was not found will be printed to ``stderr``, and the browser representation of
+the error will include the same information. See :ref:`environment_chapter`
+for more information about how, and where to set these values.
.. index::
single: HTTP caching
@@ -729,10 +729,10 @@ headers you set within the view itself unless you use ``preserve_auto``.
You can also turn of the effect of ``http_cache`` entirely for the duration
of a Pyramid application lifetime. To do so, set the
``PYRAMID_PREVENT_HTTP_CACHE`` environment variable or the
-``prevent_http_cache`` configuration value setting to a true value. For more
-information, see :ref:`preventing_http_caching`.
+``pyramid.prevent_http_cache`` configuration value setting to a true value.
+For more information, see :ref:`preventing_http_caching`.
-Note that setting ``prevent_http_cache`` will have no effect on caching
+Note that setting ``pyramid.prevent_http_cache`` will have no effect on caching
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.