author | nishanth |
Sat, 29 May 2010 10:24:18 +0530 | |
changeset 14 | ee492a4b9ebd |
parent 9 | 47f72774489e |
child 15 | 1c2d2e702aee |
permissions | -rw-r--r-- |
7 | 1 |
from django.shortcuts import render_to_response |
2 |
||
3 |
from sage_days.sdi.models import Registrant |
|
9 | 4 |
from sage_days.sdi.forms import RegisterForm |
7 | 5 |
|
6 |
def register(request): |
|
7 |
""" The user register page. |
|
8 |
""" |
|
9 |
||
9 | 10 |
if request.method == "POST": |
14 | 11 |
form = RegisterForm(request.POST) |
12 |
if form.is_valid(): |
|
13 |
pass |
|
14 |
else: |
|
15 |
return render_to_response("register.html", {"form":form}) |
|
9 | 16 |
else: |
17 |
form = RegisterForm() |
|
18 |
return render_to_response("register.html", {"form":form}) |