When I click on the link for my form, I would like to restore the session
values if the user accidentally left the wizard or other cases happened.
How I can restore the session and initialize the FormWizard with the
session values? Everytime I click on the link to render the view I got an
empty fo
I'm trying to get the data from the session. The SessionWizard store the
data in the session
session_data = request.session[wizard_key_form]['step_data']
at this point session_data is the dictionary with the data in the form
filled by the user.
But this doesn't work
ServiceCreationWizard.as_vie
Solved with a very easy approach.
I override the WizardView get method and I use a session variable to
understand if the user want to restore the edit or create a new form
def get(self, request, *args, **kwargs):
"""
This method override the WizardView handling the restore of t
3 matches
Mail list logo