admin: fix reverse urls for application forms
This commit is contained in:
parent
9a21c2f6bd
commit
e712719333
|
@ -29,7 +29,7 @@ class ApplicationCreateView(
|
||||||
permission_required = "authentik_core.add_application"
|
permission_required = "authentik_core.add_application"
|
||||||
|
|
||||||
template_name = "generic/create.html"
|
template_name = "generic/create.html"
|
||||||
success_url = reverse_lazy("authentik_admin:applications")
|
success_url = reverse_lazy("authentik_core:shell")
|
||||||
success_message = _("Successfully created Application")
|
success_message = _("Successfully created Application")
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ class ApplicationUpdateView(
|
||||||
permission_required = "authentik_core.change_application"
|
permission_required = "authentik_core.change_application"
|
||||||
|
|
||||||
template_name = "generic/update.html"
|
template_name = "generic/update.html"
|
||||||
success_url = reverse_lazy("authentik_admin:applications")
|
success_url = reverse_lazy("authentik_core:shell")
|
||||||
success_message = _("Successfully updated Application")
|
success_message = _("Successfully updated Application")
|
||||||
|
|
||||||
|
|
||||||
|
@ -60,5 +60,5 @@ class ApplicationDeleteView(
|
||||||
permission_required = "authentik_core.delete_application"
|
permission_required = "authentik_core.delete_application"
|
||||||
|
|
||||||
template_name = "generic/delete.html"
|
template_name = "generic/delete.html"
|
||||||
success_url = reverse_lazy("authentik_admin:applications")
|
success_url = reverse_lazy("authentik_core:shell")
|
||||||
success_message = _("Successfully deleted Application")
|
success_message = _("Successfully deleted Application")
|
||||||
|
|
Reference in New Issue