Formwizards for editing in Django

Posted by Espen Christensen on Stack Overflow See other posts from Stack Overflow or by Espen Christensen
Published on 2010-04-06T09:37:47Z Indexed on 2010/04/06 9:43 UTC
Read the original article Hit count: 292

Filed under:
|
|

Hi,

I am in the process of making a webapp, and this webapp needs to have a form wizard. The wizard consists of 3 ModelForms, and it works flawlessly. But I need the second form to be a "edit form". That is, i need it to be a form that is passed an instance.

How can you do this with a form wizard? How do you pass in an instance of a model? I see that the FormWizard class has a get_form method, but isnt there a documented way to use the formwizard for editing/reviewing of data?

© Stack Overflow or respective owner

Related posts about python

Related posts about django