[Answered ]-Django FormWizard prefill on edit


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

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