summaryrefslogtreecommitdiff
path: root/ishtar/furnitures/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar/furnitures/forms.py')
-rw-r--r--ishtar/furnitures/forms.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py
index 588d3b2de..3753d5cda 100644
--- a/ishtar/furnitures/forms.py
+++ b/ishtar/furnitures/forms.py
@@ -83,6 +83,9 @@ class Wizard(NamedUrlSessionFormWizard):
return context
def get_formated_datas(self, forms):
+ """
+ Get the data to present in the last page
+ """
datas = []
for form in forms:
base_form = hasattr(form, 'forms') and form.forms[0] or form
@@ -106,6 +109,9 @@ class Wizard(NamedUrlSessionFormWizard):
return datas
def done(self, request, storage, form_list, **kwargs):
+ """
+ Save to the model
+ """
dct, m2m = {}, []
for form in form_list:
base_form = hasattr(form, 'forms') and form.forms[0] or form