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
This commit is contained in:
parent
cfc19f84de
commit
7d0d3b68d6
|
@ -131,8 +131,8 @@ class FormWizard(object):
|
||||||
self.process_step(request, form, current_step)
|
self.process_step(request, form, current_step)
|
||||||
next_step = current_step + 1
|
next_step = current_step + 1
|
||||||
|
|
||||||
if current_step == self.num_steps():
|
if next_step == self.num_steps():
|
||||||
return self.done(request, final_form_list)
|
return self.done(request, current_form_list)
|
||||||
else:
|
else:
|
||||||
form = self.get_form(next_step)
|
form = self.get_form(next_step)
|
||||||
self.step = current_step = next_step
|
self.step = current_step = next_step
|
||||||
|
|
Loading…
Reference in New Issue