summaryrefslogtreecommitdiff
path: root/ishtar_common/wizards.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r--ishtar_common/wizards.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py
index db2cb7829..63f7ee30a 100644
--- a/ishtar_common/wizards.py
+++ b/ishtar_common/wizards.py
@@ -969,6 +969,7 @@ class Wizard(IshtarWizard):
self.request.session[self.get_object_name(obj)] = str(obj.pk)
dct = {'item': obj}
self.current_object = obj
+ self.post_save()
if self.redirect_url:
url = reverse(self.redirect_url)
@@ -985,6 +986,9 @@ class Wizard(IshtarWizard):
res = render(self.request, self.wizard_done_template, dct)
return return_object and (obj, res) or res
+ def post_save(self):
+ return
+
def get_deleted(self, keys):
"""
Get the deleted and non-deleted items in formsets