When "starting" the wizard, the "current" step is the *first* step.
The "first" step is the first in the list of *currently enabled* steps.
The list of "currently enabled" steps is constructed by checking each step
wrt. condition_dict.
In other words; obtaining the current step implicitly runs
I'm seeing a similar error and can't figure it out. In a function I'm using
to decide whether to show a step or not.
def show_step(wizard):
# try to get the cleaned data of step 1
cleaned_data = wizard.get_cleaned_data_for_step('initial_config') or {}
return wizard.steps.current in
I searched the bug tracker and the django users with no results, so is what
I'm seeing a bug?
I have a form wizard that is using a callable within condition_dict. If I
try to access "wizard.steps.current" inside the callable, I get the
following error:
"maximum recursion depth exceeded in
3 matches
Mail list logo