Ronan Amicel
2013-01-14 bbd3abb8b925fd4cbde3194abc07736f0f30fb91
Update pyramid/view.py

Fix example function name in forbidden_view_config docstring
1 files modified
2 ■■■ changed files
pyramid/view.py 2 ●●● patch | view | raw | blame | history
pyramid/view.py
@@ -394,7 +394,7 @@
        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