feat: add branded error pages
This commit is contained in:
@@ -7,6 +7,11 @@ from django.urls import include, path
|
||||
from workflows.forms import AppPasswordChangeForm, AppPasswordResetForm, AppSetPasswordForm
|
||||
from workflows import views as workflow_views
|
||||
|
||||
handler400 = 'workflows.error_views.bad_request'
|
||||
handler403 = 'workflows.error_views.permission_denied'
|
||||
handler404 = 'workflows.error_views.not_found'
|
||||
handler500 = 'workflows.error_views.server_error'
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('i18n/', include('django.conf.urls.i18n')),
|
||||
|
||||
Reference in New Issue
Block a user