Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bug and test failure introducted in [14290]

Thanks Russell for alerting me.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7d0d3b68d67810cd3b41c4ae5ccfd52de2e93913 1 parent cfc19f8
@spookylukey spookylukey authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/formtools/wizard.py
View
4 django/contrib/formtools/wizard.py
@@ -131,8 +131,8 @@ def __call__(self, request, *args, **kwargs):
self.process_step(request, form, current_step)
next_step = current_step + 1
- if current_step == self.num_steps():
- return self.done(request, final_form_list)
+ if next_step == self.num_steps():
+ return self.done(request, current_form_list)
else:
form = self.get_form(next_step)
self.step = current_step = next_step
Please sign in to comment.
Something went wrong with that request. Please try again.