equal
deleted
inserted
replaced
6 def register(request): |
6 def register(request): |
7 """ The user register page. |
7 """ The user register page. |
8 """ |
8 """ |
9 |
9 |
10 if request.method == "POST": |
10 if request.method == "POST": |
11 pass |
11 form = RegisterForm(request.POST) |
|
12 if form.is_valid(): |
|
13 pass |
|
14 else: |
|
15 return render_to_response("register.html", {"form":form}) |
12 else: |
16 else: |
13 form = RegisterForm() |
17 form = RegisterForm() |
14 return render_to_response("register.html", {"form":form}) |
18 return render_to_response("register.html", {"form":form}) |