djangoimporterrorformwizarddjango-formwizard

Django Form Wizard, SessionWizardView Import Error


I want to implement a django form wizard. I read the documentation about it but when I add the 'from django.contrib.formtools.wizard.views' import SessionWizardView' to my view, i get "No module named views" .

I searched the "views" from shell, but nope there is no view module under the formtools.

Any idea ?


Solution

  • You are on the wrong documentation page - the page you link is the documentation of the current development trunk, probably you're using Django 1.3:

    https://docs.djangoproject.com/en/1.3/ref/contrib/formtools/form-wizard/