Junya Hayashi
2015-03-13 59e7ccee7600af7f8c97102a98f675145fbeae8a
fix comment in forbidden_view_config
1 files modified
2 ■■■ changed files
pyramid/view.py 2 ●●● patch | view | raw | blame | history
pyramid/view.py
@@ -380,7 +380,7 @@
        @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