From dcd1225cef0fc3e573a11cec651e16f2b35b83cf Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 28 Aug 2020 18:27:09 +0200 Subject: Operation edit: clean potential parcel duplication --- ishtar_common/wizards.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common/wizards.py') 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 -- cgit v1.2.3