diff options
| -rw-r--r-- | pyramid/view.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pyramid/view.py b/pyramid/view.py index fb63e9f7f..7f1e03199 100644 --- a/pyramid/view.py +++ b/pyramid/view.py @@ -269,6 +269,7 @@ class AppendSlashNotFoundViewFactory(object): from pyramid.exceptions import NotFound from pyramid.view import AppendSlashNotFoundViewFactory + from pyramid.httpexceptions import HTTPNotFound def notfound_view(context, request): return HTTPNotFound('It aint there, stop trying!') |
