Search code examples
djangodjango-formwizard

Restarting FormWizard from done method


I'm trying use the FormWizard for to submit an order "charge" in wizard done method. Extending the example in the documentation, performing the credit card "charge" in the done means you can't go back and reprompt for credit card, because the wizard performs self.storage.reset() after calling the done method.

What is the right approach? The confirmation form clean() step is called multiple times for revalidation, etc, & seems too removed from done() where all validated forms are available.

Thanks for any pointers.

Kent


Solution

  • I guess the answer is "you can't get there from here". I opened a ticket #19189, but it's unclear this feature will be added.