From 674c81d9e1d3499e255e8995701fb65d1358a0ac Mon Sep 17 00:00:00 2001 From: adityacp Date: Wed, 4 Mar 2020 17:11:20 +0530 Subject: Change settings - Add messages in grading systems page - Add password validator in settings - Fix naming in templates --- yaksh/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/views.py') diff --git a/yaksh/views.py b/yaksh/views.py index 3aeaada..23c5a88 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -127,7 +127,7 @@ def user_register(request): Create a user and corresponding profile and store roll_number also.""" user = request.user - if user.is_authenticated(): + if user.is_authenticated: return my_redirect("/exam/quizzes/") context = {} if request.method == "POST": -- cgit