django form wizard, ValidationError: ['ManagementForm data is missing or has been tampered.']
<p>I'm using django wizard for a multiple form signup which in the end will be 4 or 5 pages of forms. However I'm getting validation errors that may relate to the form action somehow, which I'm not sure how to solve.</p>

<p>The error seems to stem from line 282 here: <a href="https://github.com/django/django-formtools/blob/master/formtools/wizard/views.py" rel="nofollow">https://github.com/django/django-formtools/blob/master/formtools/wizard/views.py</a>
but I'm not clear on what's causing it?</p>

<p>(note I'm using django crispy forms but may not be relevant)</p>

<p>views.py</p>

<pre><code>class SignupWizard(SessionWizardView):
    def get_template_names(self):
        return [TEMPLATES[self.steps.current]]

    def done(self, form_list, **kwargs):
        for form in form_list:
            if isinstance(form, SignupForm):
                user = form.save(self.request)
                complete_signup(self.request, user, settings.ACCOUNT_EMAIL_VERIFICATION, settings.LOGIN_REDIRECT_URL)
            else:
                other_signup_form = form.save(commit=False)
                user = self.request.user
                other_signup_form.user = user
                other_signup_form.save()
        return HttpResponseRedirect(settings.LOGIN_REDIRECT_URL)


signup_view = SignupWizard.as_view(SIGNUP_FORMS)
</code></pre>

<p>forms.py</p>

<pre><code>class SignupForm(allauthforms.SignupForm):

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self.helper = FormHelper(self)
        self.helper.label_class = 'sr-only'
        self.helper.layout = Layout(
            Field('name', placeholder='Your Name'),
            PrependedText('email', '&lt;i class="fa fa-envelope-o"&gt;&lt;/i&gt;', placeholder="Your Email",
                          autofocus=""),
            PrependedText('password1', '&lt;i class="fa fa-key"&gt;&lt;/i&gt;', placeholder="Enter Password"),
            Submit('sign_up', 'Sign up', css_class="btn btn-block btn-cta-primary"),
            )

class SignupForm2(forms.Form):
    first_name = forms.CharField(max_length=30)
    last_name = forms.CharField(max_length=30)
</code></pre>

<p>template:</p>

<pre><code>{% block inner %}
    &lt;h2 class="title text-center"&gt;Sign up now&lt;/h2&gt;
    &lt;p class="intro text-center"&gt;It only takes 2 minutes.&lt;/p&gt;
    &lt;div class="row"&gt;
          {% crispy form %}        
    &lt;/div&gt;
{% endblock %}
</code></pre>

<p>The form wizard requires that you include the management form in the form tag in your template:</p>

<pre><code>{{ wizard.management_form }}
</code></pre>

<p>See <a href="http://django-formtools.readthedocs.io/en/latest/wizard.html?highlight=management_form#creating-templates-for-the-forms" rel="nofollow">the docs</a> for more info.</p>

python django forms