diff options
| author | Tres Seaver <tseaver@palladion.com> | 2015-03-13 09:32:00 -0400 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2015-03-13 09:32:00 -0400 |
| commit | 8943131aa7678d26ef7cdd135001a54828c349d6 (patch) | |
| tree | 05ebae7a09a78f080a6f0ebf992e563a0aa8be82 | |
| parent | b0218c806d684771b00eb93af58c8482376af349 (diff) | |
| parent | 59e7ccee7600af7f8c97102a98f675145fbeae8a (diff) | |
| download | pyramid-8943131aa7678d26ef7cdd135001a54828c349d6.tar.gz pyramid-8943131aa7678d26ef7cdd135001a54828c349d6.tar.bz2 pyramid-8943131aa7678d26ef7cdd135001a54828c349d6.zip | |
Merge pull request #1607 from ledmonster/fix-forbidden_view_config-comment
fix comment in forbidden_view_config
| -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 02ac8849f..f48592e16 100644 --- a/pyramid/view.py +++ b/pyramid/view.py @@ -380,7 +380,7 @@ class forbidden_view_config(object): @forbidden_view_config() def forbidden(request): - return Response('You are not allowed', status='401 Unauthorized') + return Response('You are not allowed', status='403 Forbidden') All arguments passed to this function have the same meaning as :meth:`pyramid.view.view_config` and each predicate argument restricts |
