summaryrefslogtreecommitdiff
path: root/ishtar_common/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-14 08:26:09 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-14 08:26:09 +0200
commit63ffae36db57b1f2a0df50e43c04a0676df79bc9 (patch)
tree6b3f43532fa3bb38826a8b09c6c2aab221c94a9e /ishtar_common/wizards.py
parentf94253032fa1bece95b546c36375ecba8331f9f4 (diff)
downloadIshtar-63ffae36db57b1f2a0df50e43c04a0676df79bc9.tar.bz2
Ishtar-63ffae36db57b1f2a0df50e43c04a0676df79bc9.zip
Organization: multiple deletion - redirections after wizard changes
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r--ishtar_common/wizards.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py
index 5eb8e0ad1..9c89fd04b 100644
--- a/ishtar_common/wizards.py
+++ b/ishtar_common/wizards.py
@@ -1749,7 +1749,7 @@ class PersonModifWizard(PersonWizard):
class PersonDeletionWizard(MultipleDeletionWizard):
model = models.Person
fields = model.TABLE_COLS
- redirect_url = "person_search"
+ redirect_url = "person_deletion"
wizard_templates = {
'final-person_deletion': 'ishtar/wizard/wizard_person_deletion.html'}
@@ -1762,15 +1762,17 @@ class IshtarUserDeletionWizard(DeletionWizard):
class OrganizationWizard(Wizard):
model = models.Organization
wizard_done_window = reverse_lazy('show-organization')
+ redirect_url = "organization_modification"
class OrganizationModifWizard(OrganizationWizard):
modification = True
-class OrganizationDeletionWizard(DeletionWizard):
+class OrganizationDeletionWizard(MultipleDeletionWizard):
model = models.Organization
fields = model.TABLE_COLS
+ redirect_url = "organization_deletion"
wizard_templates = {
'final-organization_deletion':
'ishtar/wizard/wizard_organization_deletion.html'}