fix failing CI
This commit is contained in:
parent
eaa573c715
commit
35b6bb6b3f
|
@ -17,7 +17,7 @@ admin.site.login = RedirectView.as_view(pattern_name='passbook_core:auth-login')
|
||||||
handler400 = error.BadRequestView.as_view()
|
handler400 = error.BadRequestView.as_view()
|
||||||
handler403 = error.ForbiddenView.as_view()
|
handler403 = error.ForbiddenView.as_view()
|
||||||
handler404 = error.NotFoundView.as_view()
|
handler404 = error.NotFoundView.as_view()
|
||||||
handler500 = error.BadRequestView.as_view()
|
handler500 = error.ServerErrorView.as_view()
|
||||||
|
|
||||||
core_urls = [
|
core_urls = [
|
||||||
# Authentication views
|
# Authentication views
|
||||||
|
|
|
@ -58,3 +58,8 @@ class ServerErrorView(TemplateView):
|
||||||
extra_context = {
|
extra_context = {
|
||||||
'is_login': True
|
'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)
|
||||||
|
|
Reference in New Issue