taskapp/views/users.py
changeset 15 4e29ed911123
parent 14 54694601c5e3
--- a/taskapp/views/users.py	Thu Feb 04 22:16:00 2010 +0530
+++ b/taskapp/views/users.py	Thu Feb 04 22:17:36 2010 +0530
@@ -66,7 +66,7 @@
                 form = RegistrationForm(request.POST)
                 return render_to_response('user/register.html',{'form':form,'errors':errors})#HttpResponse('Password did not match')
         else:
-            form = RegistrationForm()
+            form = RegistrationForm(request.POST)
     else:
         form = RegistrationForm()
     return render_to_response('user/register.html', {'form': form})