-
-
Notifications
You must be signed in to change notification settings - Fork 145
Closed
Description
We have a condition_dict
containing the following function:
def need_further_steps(wizard):
data = wizard.get_cleaned_data_for_step("0") or {}
if data.get("no_invoices_needed", False):
return False
return True
The call to WizardView.get_cleaned_data_for_step
then calls WizardView.get_form
, which used to reference self.form_list
, but the following commit changes this to self.get_form_list()
, which then calls the user-supplied condition_dict
functions, which then calls our need_further_steps
function above, which calls WizardView.get_cleaned_data_for_step
, and so on ad infinitum.
533a830
Perhaps our custom condition function is bad, but it doesn't seem too unreasonable?
JanMalte and robd003
Metadata
Metadata
Assignees
Labels
No labels