I have a working django formwizard which when I hit the previous button doesn\'t validate the current input.
I\'ve tried variations on
One (arguably elegant) way would be to use a different POST variable than wizard_goto_step, and then override WizardView.get_next_step():
def get_next_step(self, step=None):
return self.request.POST.get('wizard_next_step',
super().get_next_step(step))
Then, use name="wizard_next_step" on the previous-step button/link. This approach both has the advantage that the old behavior remains available should you need it, and that you're not re-implementing WizardView.post().