diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-26 15:06:40 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-07-26 15:06:40 +0200 |
commit | d64dcad840e2dac9438eb054d86968e7f484008b (patch) | |
tree | 1fa9e1d51f84d6c03360f9e2cb62780dae604ec6 /ishtar_common/wizards.py | |
parent | 66b32cdb285d504212edbf43d5d2d425d659370a (diff) | |
parent | 8801ab7b7e655d8b831e535381eeea8adc091989 (diff) | |
download | Ishtar-d64dcad840e2dac9438eb054d86968e7f484008b.tar.bz2 Ishtar-d64dcad840e2dac9438eb054d86968e7f484008b.zip |
Merge branch 'v0.9' into wheezy
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r-- | ishtar_common/wizards.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index 3f90f8c48..c5158dfcd 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -757,6 +757,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) |