From 818463cd01a5f82861058cf75e0f6e794d69f57e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 15 Jan 2014 00:34:44 +0100 Subject: Fix direct modification by URL ("Modify" button) (refs #1615) Change nature of data initialization at first step --- ishtar_common/wizards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common') 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) -- cgit v1.2.3