sdi/views.py
author nishanth
Sat, 29 May 2010 09:51:15 +0530
changeset 9 47f72774489e
parent 7 98f2b5c2abc9
child 14 ee492a4b9ebd
permissions -rw-r--r--
added the return statement for register view

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.
    """

    if request.method == "POST":
        pass
    else:
        form = RegisterForm()
        return render_to_response("register.html", {"form":form})