summaryrefslogtreecommitdiff
path: root/docs/zcml/forbidden.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-11-09 03:54:45 -0500
committerChris McDonough <chrism@plope.com>2010-11-09 03:54:45 -0500
commitfd5ae92bd218b72a7a923e406eee023afe024dc0 (patch)
tree17fd402d2d06a0360f813e682e73bb780874a2a4 /docs/zcml/forbidden.rst
parentf383367b91b02b28e2beec8132241003aacbedfd (diff)
downloadpyramid-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/zcml/forbidden.rst')
-rw-r--r--docs/zcml/forbidden.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/zcml/forbidden.rst b/docs/zcml/forbidden.rst
index 330df3c2e..f5b1b4644 100644
--- a/docs/zcml/forbidden.rst
+++ b/docs/zcml/forbidden.rst
@@ -3,7 +3,7 @@
``forbidden``
-------------
-When :mod:`pyramid` can't authorize execution of a view based on
+When :app:`Pyramid` can't authorize execution of a view based on
the :term:`authorization policy` in use, it invokes a :term:`forbidden
view`. The default forbidden response has a 401 status code and is
very plain, but it can be overridden as necessary using the
@@ -11,7 +11,7 @@ very plain, but it can be overridden as necessary using the
.. warning::
- The ``forbidden`` ZCML directive is deprecated in :mod:`pyramid`
+ The ``forbidden`` ZCML directive is deprecated in :app:`Pyramid`
version 1.3. Instead, you should use the :ref:`view_directive`
directive with a ``context`` that names the
:exc:`pyramid.exceptions.Forbidden` class. See