views:

497

answers:

1

I have a large Django model (73 fields) that will will be connected to a ModelForm. I'd like to use a combination of the functionality found the Form Wizard and Form Preview contrib apps.

I.e., the form fields would be split over multiple pages, and the user would have a chance to review/preview the data before the model instance is created.

Are there any best-practices for this type of thing, or example code?

+1  A: 

I do a similar thing at my first Django project. Using session-based FormWizard, I customized it so user can stop subbmiting data at any form.

At that point you can use FormPreview probably to show information or just dynamically generate form and show it to user. Data stays in the session.

iElectric