[Answered ]-Django FormWizard prefill on edit

2👍

If you’re using django-formwizard or the new formwizard implementation introduced in Django 1.4 you can use ModelForm’s as a step form and pass an instance_dict when creating the WizardView instance.

instance_dict works the same way initial_dict works – see
https://django-formtools.readthedocs.io/en/latest/wizard.html#formtools.wizard.views.WizardView.initial_dict

If you’re using the old formwizard implementation from Django 1.3 and lower, you can pass initial as described here: https://django-formtools.readthedocs.io/en/latest/wizard.html#providing-initial-data-for-the-forms

Leave a comment