summaryrefslogtreecommitdiff
path: root/forums/views.py
diff options
context:
space:
mode:
authorashwinishinde2015-07-06 15:12:23 +0530
committerashwinishinde2015-07-06 15:12:23 +0530
commit4c5a279249a44bc921cfab5535ab69abe0311030 (patch)
tree6806dda9f428b2c37af8c3c0467d1a634c18f3d3 /forums/views.py
parentfff3f3cc5623ea5fdd42da87ea1e54fb9a3d7aa7 (diff)
downloadFOSSEE-Forum-4c5a279249a44bc921cfab5535ab69abe0311030.tar.gz
FOSSEE-Forum-4c5a279249a44bc921cfab5535ab69abe0311030.tar.bz2
FOSSEE-Forum-4c5a279249a44bc921cfab5535ab69abe0311030.zip
Subject: Resolve comment issue occured by Vote functionality
Description:
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)