summaryrefslogtreecommitdiff
path: root/ishtar_common/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-26 14:39:13 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-07-26 14:39:13 +0200
commit943a35dacc9fdd0e86cf4713c441124d99fafa14 (patch)
tree8b9cef16c3dc1077b81465029b102391fa6106fa /ishtar_common/wizards.py
parent9a7c3c036e1ae743c7ccc00cdc4c9e8499b8578e (diff)
parent32d85d8604fbdf67644a406e265372e3bb4c8657 (diff)
downloadIshtar-943a35dacc9fdd0e86cf4713c441124d99fafa14.tar.bz2
Ishtar-943a35dacc9fdd0e86cf4713c441124d99fafa14.zip
Merge branch 'master' into develop
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 128833ad4..a82b68d5b 100644
--- a/ishtar_common/wizards.py
+++ b/ishtar_common/wizards.py
@@ -762,6 +762,10 @@ class Wizard(NamedUrlWizardView):
item.skip_history_when_saving = True
item.save()
+ if hasattr(obj, 'fix'):
+ # post save/m2m specific fix
+ obj.fix()
+
# make the new object a default
if self.current_obj_slug:
self.request.session[self.current_obj_slug] = unicode(obj.pk)