Add 500 and 400, 403, 404 error redirects back to dashboard with basic message

This commit is contained in:
Aaron Kable
2020-04-17 06:45:01 +00:00
committed by Ariel Rin
parent 8addd483c2
commit d7dcacb899
4 changed files with 55 additions and 4 deletions

View File

@@ -12,4 +12,7 @@ urlpatterns += [
url(r'^second-page/$', views.page, name='p1'),
]
handler500 = 'allianceauth.views.Generic500Redirect'
handler404 = 'allianceauth.views.Generic404Redirect'
handler403 = 'allianceauth.views.Generic403Redirect'
handler400 = 'allianceauth.views.Generic400Redirect'