corrected views.user.register method .
authoranoop
Thu, 04 Feb 2010 22:17:36 +0530
changeset 15 4e29ed911123
parent 14 54694601c5e3
child 16 ad6dd152aff3
corrected views.user.register method .
taskapp/views/users.py
--- 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})