diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2014-01-15 00:34:44 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2014-01-15 00:34:44 +0100 |
commit | cb8cb1f71c931caaa117496c8488255ef34fe9cc (patch) | |
tree | 0028c0d8a1a0509680528d3f5f0be539ea4e67de /ishtar_common/wizards.py | |
parent | 61dc83b0d760501e00b533ec7f8eadcebaf9d738 (diff) | |
download | Ishtar-cb8cb1f71c931caaa117496c8488255ef34fe9cc.tar.bz2 Ishtar-cb8cb1f71c931caaa117496c8488255ef34fe9cc.zip |
Fix direct modification by URL ("Modify" button) (refs #1615)
Change nature of data initialization at first step
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r-- | ishtar_common/wizards.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index d29a8458f..d506c8552 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -620,7 +620,7 @@ class Wizard(NamedUrlWizardView): storage.reset() data = storage.get_step_data(form_key) if not data: - data = {}#MultiValueDict() + data = MultiValueDict() key = key if key.startswith(form_key) else form_key + '-' + key data[key] = value storage.set_step_data(form_key, data) |