commit | author | age | ||
0e21c2 | 1 | from pyramid.view import notfound_view_config |
ab495c | 2 | |
07d38f | 3 | |
ab495c | 4 | @notfound_view_config(renderer='../templates/404.jinja2') |
MM | 5 | def notfound_view(request): |
07d38f | 6 | request.response.status = 404 |
ab495c | 7 | return {} |