I have a problem with wizard, no data from previous forms is stored in session backend ...
What's exactly the problem I do not understand, but as a function called
"def set_step_data(data): .... self.data[self.step_data_key][step] = cleaned_data"
nothing is stored...
then via pdb I see that _get_data(self): called instead of _set_data(self, value):
What could be the problem of such behavior?
Backend session is configured ... and I see certain things of wizard database contains ...
for instance:
{'_auth_user_backend': 'allauth.account.auth_backends.AuthenticationBackend', 'wizard_order_wizard': {'step_files': {u'0': {}}, 'step': u'1', 'extra_data': {}, 'step_data': {u'0': {u'csrfmiddlewaretoken': [u'xC8H5GMNDe79iC3jkYAQZUy3E11RhnDK'], u'0-number_of_credits': [u'1'], u'order_wizard-current_step': [u'0']}}}, '_auth_user_id': 1}
but not all steps stored ..
I've tried
SESSION_SAVE_EVERY_REQUEST = True
no results... (very strange behavior..)
What am I doing wrong?
Obviously "done" is not called and wizard stops in render_done
(Pdb) print self.storage.get_step_data(form_key)
None
(Pdb) form_obj.is_valid()
False
return self.render_revalidation_failure(form_key, form_obj, **kwargs)
Does anyone have any idea about this problem?