# HG changeset patch # User nishanth # Date 1275108858 -19800 # Node ID ee492a4b9ebd9ba0165dc0d774c59bbf02afe422 # Parent d668e6002f14b5dbbf9a3ffab68617f5e94acc7c updated register view diff -r d668e6002f14 -r ee492a4b9ebd sdi/views.py --- a/sdi/views.py Sat May 29 10:20:15 2010 +0530 +++ b/sdi/views.py Sat May 29 10:24:18 2010 +0530 @@ -8,7 +8,11 @@ """ if request.method == "POST": - pass + form = RegisterForm(request.POST) + if form.is_valid(): + pass + else: + return render_to_response("register.html", {"form":form}) else: form = RegisterForm() return render_to_response("register.html", {"form":form})