diff options
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r-- | ishtar_common/wizards.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index c2383e2de..fa14d9827 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -1334,7 +1334,10 @@ class Wizard(IshtarWizard): if not data: data = MultiValueDict() key = key if key.startswith(form_key) else form_key + "-" + key - data[key] = value + if isinstance(value, list): + data.setlist(key, value) + else: + data[key] = value storage.set_step_data(form_key, data) @classmethod |