changeset 14 | ee492a4b9ebd |
parent 9 | 47f72774489e |
child 15 | 1c2d2e702aee |
--- 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})