diff options
| 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 | 
| commit | 943a35dacc9fdd0e86cf4713c441124d99fafa14 (patch) | |
| tree | 8b9cef16c3dc1077b81465029b102391fa6106fa /ishtar_common/wizards.py | |
| parent | 9a7c3c036e1ae743c7ccc00cdc4c9e8499b8578e (diff) | |
| parent | 32d85d8604fbdf67644a406e265372e3bb4c8657 (diff) | |
| download | Ishtar-943a35dacc9fdd0e86cf4713c441124d99fafa14.tar.bz2 Ishtar-943a35dacc9fdd0e86cf4713c441124d99fafa14.zip | |
Merge branch 'master' into develop
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 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) | 
