diff options
| -rw-r--r-- | repoze/bfg/configuration.py | 4 | ||||
| -rw-r--r-- | repoze/bfg/view.py | 5 |
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`. |
