summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ishtar_common/urls.py5
-rw-r--r--ishtar_common/wizards.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/ishtar_common/urls.py b/ishtar_common/urls.py
index ca5311864..aa1f1948e 100644
--- a/ishtar_common/urls.py
+++ b/ishtar_common/urls.py
@@ -453,6 +453,11 @@ urlpatterns += [
name="show-person",
),
path(
+ "show-ishtaruser/",
+ check_permissions(["ishtaradmin"])(views.show_ishtaruser),
+ name="show-ishtaruser",
+ ),
+ path(
"show-ishtaruser/<int:pk>/",
check_permissions(["ishtaradmin"])(views.show_ishtaruser),
name="show-ishtaruser",
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py
index 25ec00733..a748a4b34 100644
--- a/ishtar_common/wizards.py
+++ b/ishtar_common/wizards.py
@@ -2055,7 +2055,7 @@ class OrganizationDeletionWizard(MultipleDeletionWizard):
class AccountWizard(Wizard):
model = models.Person
formset_pop_deleted = False
- wizard_done_window = reverse_lazy("show-person")
+ wizard_done_window = reverse_lazy("show-ishtaruser")
def get_formated_datas(self, forms):
datas = super(AccountWizard, self).get_formated_datas(forms)