summaryrefslogtreecommitdiff
path: root/forums/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'forums/views.py')
-rw-r--r--forums/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/forums/views.py b/forums/views.py
index 80410b4..185cc84 100644
--- a/forums/views.py
+++ b/forums/views.py
@@ -19,8 +19,7 @@ def account_register(request):
print request.method
if request.method == 'POST':
form = RegisterForm(request.POST)
- print form
- print form.is_valid
+
if form.is_valid():
username = request.POST['username']
@@ -49,6 +48,7 @@ def account_register(request):
}
context.update(csrf(request))
return render_to_response('forums/templates/user-register.html', context)
+
def confirm(request, confirmation_code, username):
try:
user = User.objects.get(username=username)