summaryrefslogtreecommitdiff
path: root/repoze
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-12-24 04:11:09 +0000
committerChris McDonough <chrism@agendaless.com>2009-12-24 04:11:09 +0000
commit864e84f0e01ccd8bf408335b37562f9ca3d6e35f (patch)
treec467986d0bebc7ead477f66c16b727a607f3ce02 /repoze
parentb93d193e3b16dde94b0ca2e5478ec76afbdd5383 (diff)
downloadpyramid-864e84f0e01ccd8bf408335b37562f9ca3d6e35f.tar.gz
pyramid-864e84f0e01ccd8bf408335b37562f9ca3d6e35f.tar.bz2
pyramid-864e84f0e01ccd8bf408335b37562f9ca3d6e35f.zip
Roles.
Diffstat (limited to 'repoze')
-rw-r--r--repoze/bfg/configuration.py4
-rw-r--r--repoze/bfg/view.py5
2 files changed, 5 insertions, 4 deletions
diff --git a/repoze/bfg/configuration.py b/repoze/bfg/configuration.py
index 7ac284de0..150e90ed8 100644
--- a/repoze/bfg/configuration.py
+++ b/repoze/bfg/configuration.py
@@ -491,8 +491,8 @@ class Configurator(object):
The ``renderer`` attribute is optional. If it is not
defined, the "null" renderer is assumed (no rendering is
- performed and the value is passed back to the upstream BFG
- machinery unmolested).
+ performed and the value is passed back to the upstream
+ :mod:`repoze.bfg` machinery unmolested).
wrapper
diff --git a/repoze/bfg/view.py b/repoze/bfg/view.py
index d1c69205e..61286f46c 100644
--- a/repoze/bfg/view.py
+++ b/repoze/bfg/view.py
@@ -539,11 +539,12 @@ def append_slash_notfound_view(context, request):
<notfound
view="repoze.bfg.view.append_slash_notfound_view"/>
- Or use the :meth:`repoze.bfg.configuration.Configurator.notfound`
+ Or use the
+ :meth:`repoze.bfg.configuration.Configurator.set_notfound_view`
method if you don't use ZCML::
from repoze.bfg.view import append_slash_notfound_view
- config.notfound(append_slash_notfound_view)
+ config.set_notfound_view(append_slash_notfound_view)
See also :ref:`changing_the_notfound_view`.