diff --git a/formtools/wizard/views.py b/formtools/wizard/views.py index aad0bdf..10c5809 100644 --- a/formtools/wizard/views.py +++ b/formtools/wizard/views.py @@ -43,6 +43,9 @@ def __len__(self): def __repr__(self): return f'' + def __iter(self): + return iter(self.all) + @property def all(self): "Returns the names of all steps/forms."