Closed nahuelange closed 2 years ago
In my case i must use condition_dict, but the problem about get_form_list still is a question.
Please could somebody give some love to this issue? You just need to change the the line form_class = self.form_list[step]
of the get_form
method to form_class = self.get_form_list()[step]
to fix it.
It would be really useful to be able to fully configure the list of forms of my wizard. Using the condition_dict
is not as powerful as being able to completely redefine the list of the forms.
This looks like a duplicate of #62, which hasn't been merged because it doesn't include automated tests.
This change has caused a lot of people a problem, see #220, can this be reverted?
Hi,
I'm trying to implement conditionnal steps in my WizardView, using get_form_list to return the needed list of steps. When I do this, formtools raises an exception trying to access a step in the form_list class attribute. Line 409 of file
formtools/wizard/views.py
:Don't the get_form_list method should be called everytime formtools needs the form_list instead of accessing the property?