upload app
This commit is contained in:
7
cleanup_html/views/notfound.py
Normal file
7
cleanup_html/views/notfound.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from pyramid.view import notfound_view_config
|
||||
|
||||
|
||||
@notfound_view_config(renderer='cleanup_html:templates/404.jinja2')
|
||||
def notfound_view(request):
|
||||
request.response.status = 404
|
||||
return {}
|
||||
Reference in New Issue
Block a user