[Django]-Django form wizard 'NoneType' object has no attribute 'rsplit' error

3👍

Instead of subclassing WizardView, try subclassing SessionWizardView:

from formtools.wizard.views import SessionWizardView

class ContactWizard(SessionWizardView):
    ...

The documentation isn’t very clear on this, but in most cases you shouldn’t subclass WizardView directly – instead there are a number of sub-views that you should use:

SessionWizardView
CookieWizardView
NamedUrlWizardView etc.

Leave a comment