Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.2.X] Fixed bug and test failure introducted in [14290]

Thanks Russell for alerting me.

Backport of [14294] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f71f31228339fadd6a4d9c11d8755cfb420152bf 1 parent a7a91c2
Luke Plant authored October 20, 2010

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/contrib/formtools/wizard.py
4  django/contrib/formtools/wizard.py
@@ -110,8 +110,8 @@ def __call__(self, request, *args, **kwargs):
110 110
             next_step = current_step + 1
111 111
 
112 112
 
113  
-            if current_step == self.num_steps():
114  
-                return self.done(request, final_form_list)
  113
+            if next_step == self.num_steps():
  114
+                return self.done(request, current_form_list)
115 115
             else:
116 116
                 form = self.get_form(next_step)
117 117
                 self.step = current_step = next_step

0 notes on commit f71f312

Please sign in to comment.
Something went wrong with that request. Please try again.