Files
aem_monespace/monaem/views/notfound.py
2023-06-22 10:26:17 +02:00

10 lines
240 B
Python

# -*- coding: utf8 -*-
from pyramid.view import notfound_view_config
@notfound_view_config(renderer='../templates/404.pt')
def notfound_view(request):
request.response.status = 404
return {
'page_title': 'Oups!',
}