summaryrefslogtreecommitdiff
path: root/repoze/bfg/router.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/router.py')
-rw-r--r--repoze/bfg/router.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/repoze/bfg/router.py b/repoze/bfg/router.py
index d85f599b2..145e0ad7c 100644
--- a/repoze/bfg/router.py
+++ b/repoze/bfg/router.py
@@ -99,13 +99,13 @@ class Router(object):
warning = (
'Instead of registering a utility against the '
'repoze.bfg.interfaces.INotFoundAppFactory interface '
- 'to return a custom notfound response, you should register '
- 'a repoze.bfg.interfaces.INotFoundView. The '
+ 'to return a custom notfound response, you should use the '
+ '"notfound_view" ZCML directive. The '
'INotFoundAppFactory interface was deprecated in'
'repoze.bfg 0.9 and will be removed in a subsequent version '
'of repoze.bfg. See the "Hooks" chapter of the repoze.bfg '
'documentation for more information about '
- 'INotFoundView.')
+ 'the "notfound_view" directive.')
self.logger and self.logger.warn(warning)
def notfound(context, request):
app = notfound_app_factory()