diff options
| author | Chris McDonough <chrism@plope.com> | 2013-01-14 16:08:58 -0800 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-01-14 16:08:58 -0800 |
| commit | d5402139717073969d347b4e2d677267d33dfc53 (patch) | |
| tree | 3f76923eb891f70dc82ae8eacf64d8fb0707f55c | |
| parent | e5f594c356d8aca488a3fbd8bc194991132533be (diff) | |
| parent | bbd3abb8b925fd4cbde3194abc07736f0f30fb91 (diff) | |
| download | pyramid-d5402139717073969d347b4e2d677267d33dfc53.tar.gz pyramid-d5402139717073969d347b4e2d677267d33dfc53.tar.bz2 pyramid-d5402139717073969d347b4e2d677267d33dfc53.zip | |
Merge pull request #793 from ronnix/patch-4
Fix 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 |
