fix failing CI

This commit is contained in:
Jens Langhammer 2019-04-09 17:26:53 +02:00
parent eaa573c715
commit 35b6bb6b3f
2 changed files with 6 additions and 1 deletions

View file

@ -17,7 +17,7 @@ admin.site.login = RedirectView.as_view(pattern_name='passbook_core:auth-login')
handler400 = error.BadRequestView.as_view()
handler403 = error.ForbiddenView.as_view()
handler404 = error.NotFoundView.as_view()
handler500 = error.BadRequestView.as_view()
handler500 = error.ServerErrorView.as_view()
core_urls = [
# Authentication views

View file

@ -58,3 +58,8 @@ class ServerErrorView(TemplateView):
extra_context = {
'is_login': True
}
# pylint: disable=useless-super-delegation
def dispatch(self, *args, **kwargs):
"""Little wrapper so django accepts this function"""
return super().dispatch(*args, **kwargs)