Is possible that the steps of the wizard are dynamic? For example, the second step occur repeatedly n times?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I had the same issue, and the form wizard (even in Django 1.4) just didn’t work for me. It was so much customization that some things started to go wrong and debugging was awful.
I did write some code based on the existing clases. Please see my gists where I posted a solutions that worked great for me. If you have any comments or suggestions (including the name of the class), please post them.
Multi-page form manager, arranged as a (math) graph, with dynamic paths (next form depends on actual state and user input) and number of forms. Storage and validation are handled. Based in Django-1.4’s
django.contrib.formtools.wizard.views.SessionWizardView.https://gist.github.com/3098817
Custom Django SessionStorage. Removed all the functionality that dealt with files. Based on Django-1.4’s
django.contrib.formtools.wizard.storage.base.BaseStorageanddjango.contrib.formtools.wizard.storage.session.SessionStorage.https://gist.github.com/3080251