changeset 9 | 47f72774489e |
parent 7 | 98f2b5c2abc9 |
child 14 | ee492a4b9ebd |
--- a/sdi/views.py Sat May 29 09:48:43 2010 +0530 +++ b/sdi/views.py Sat May 29 09:51:15 2010 +0530 @@ -1,9 +1,14 @@ from django.shortcuts import render_to_response from sage_days.sdi.models import Registrant +from sage_days.sdi.forms import RegisterForm def register(request): """ The user register page. """ - pass + if request.method == "POST": + pass + else: + form = RegisterForm() + return render_to_response("register.html", {"form":form})