notfound.py 258B

123456789
  1. # -*- coding: utf-8 -*-
  2. from pyramid.view import notfound_view_config
  3. # TODO - G.M - 29-03-2018 - [Cleanup] Drop this file
  4. @notfound_view_config(renderer='../templates/404.jinja2')
  5. def notfound_view(request):
  6. request.response.status = 404
  7. return {}