diff options
| author | Ronan Amicel <ronan.amicel@gmail.com> | 2013-01-14 17:00:38 +0100 |
|---|---|---|
| committer | Ronan Amicel <ronan.amicel@gmail.com> | 2013-01-14 17:00:38 +0100 |
| commit | bbd3abb8b925fd4cbde3194abc07736f0f30fb91 (patch) | |
| tree | ed0e2fda1467f560d2c6c07e80c7a9951d265d4d | |
| parent | b00f1e46f100d8a23041a1bb7a7b37b026170fe3 (diff) | |
| download | pyramid-bbd3abb8b925fd4cbde3194abc07736f0f30fb91.tar.gz pyramid-bbd3abb8b925fd4cbde3194abc07736f0f30fb91.tar.bz2 pyramid-bbd3abb8b925fd4cbde3194abc07736f0f30fb91.zip | |
Update pyramid/view.py
Fix example function name in forbidden_view_config docstring
| -rw-r--r-- | pyramid/view.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/view.py b/pyramid/view.py index e1e03bd93..40d7c19b9 100644 --- a/pyramid/view.py +++ b/pyramid/view.py @@ -394,7 +394,7 @@ class forbidden_view_config(object): from pyramid.response import Response @forbidden_view_config() - def notfound(request): + def forbidden(request): return Response('You are not allowed', status='401 Unauthorized') All arguments passed to this function have the same meaning as |
