summaryrefslogtreecommitdiff
path: root/docs/narr/hooks.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-07-30 04:30:57 -0400
committerChris McDonough <chrism@plope.com>2011-07-30 04:30:57 -0400
commitd8c76559cf0d8775aa2c46d62b94100528fb8a7f (patch)
tree9af038c2dadf42226c11fc1c9531011af64fa99d /docs/narr/hooks.rst
parent6aafc53c0ee74c2a568fb4d36f5eaab968126088 (diff)
parent875ded31e7fdd0c85d1c91458248581b9dd729d7 (diff)
downloadpyramid-d8c76559cf0d8775aa2c46d62b94100528fb8a7f.tar.gz
pyramid-d8c76559cf0d8775aa2c46d62b94100528fb8a7f.tar.bz2
pyramid-d8c76559cf0d8775aa2c46d62b94100528fb8a7f.zip
Merge branch 'feature.settings-prefix'
Diffstat (limited to 'docs/narr/hooks.rst')
-rw-r--r--docs/narr/hooks.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst
index fc3f01271..4f493c854 100644
--- a/docs/narr/hooks.rst
+++ b/docs/narr/hooks.rst
@@ -61,8 +61,8 @@ Here's some sample code that implements a minimal NotFound view callable:
caused the not found view to be called. The value of
``request.exception.message`` will be a value explaining why the not found
error was raised. This message will be different when the
- ``debug_notfound`` environment setting is true than it is when it is
- false.
+ ``pyramid.debug_notfound`` environment setting is true than it is when it
+ is false.
.. warning:: When a NotFound view callable accepts an argument list as
described in :ref:`request_and_context_view_definitions`, the ``context``
@@ -128,8 +128,8 @@ Here's some sample code that implements a minimal forbidden view:
``request.exception.message`` will be a value explaining why the forbidden
was raised and ``request.exception.result`` will be extended information
about the forbidden exception. These messages will be different when the
- ``debug_authorization`` environment setting is true than it is when it is
- false.
+ ``pyramid.debug_authorization`` environment setting is true than it is when
+ it is false.
.. index::
single: request factory