added the return statement for register view
authornishanth
Sat, 29 May 2010 09:51:15 +0530
changeset 9 47f72774489e
parent 8 e85ae25f920a
child 10 e6aac19d8a25
added the return statement for register view
sdi/views.py
--- 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})