upload app

This commit is contained in:
2023-11-27 20:46:54 +01:00
parent 388a305f8e
commit e69e1e3cc9
23 changed files with 482 additions and 0 deletions

View File

View File

@@ -0,0 +1,6 @@
from pyramid.view import view_config
@view_config(route_name='home', renderer='cleanup_html:templates/mytemplate.jinja2')
def my_view(request):
return {'project': 'cleanup_html'}

View 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 {}