diff options
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/models.py | 1 | ||||
-rw-r--r-- | ishtar_common/wizards.py | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 24d88edde..08ae93fa6 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -5709,7 +5709,6 @@ class Document(BaseHistorizedItem, QRCodeItem, OwnPerms, ImageModel, yield item._get_base_image_path() def _get_base_image_path(self): - print(5637) for path in self._get_base_image_paths(): if path: return path 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 |