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?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEKo5h81s1KJmr0zmRi6EMnTEj5txCmiZtuxeHXi%3Ds87bLiOVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to