sdi/views.py
changeset 9 47f72774489e
parent 7 98f2b5c2abc9
child 14 ee492a4b9ebd
equal deleted inserted replaced
8:e85ae25f920a 9:47f72774489e
     1 from django.shortcuts import render_to_response
     1 from django.shortcuts import render_to_response
     2 
     2 
     3 from sage_days.sdi.models import Registrant
     3 from sage_days.sdi.models import Registrant
       
     4 from sage_days.sdi.forms import RegisterForm
     4 
     5 
     5 def register(request):
     6 def register(request):
     6     """ The user register page.
     7     """ The user register page.
     7     """
     8     """
     8 
     9 
     9     pass
    10     if request.method == "POST":
       
    11         pass
       
    12     else:
       
    13         form = RegisterForm()
       
    14         return render_to_response("register.html", {"form":form})