summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
authoradityacp2020-03-04 17:11:20 +0530
committeradityacp2020-03-04 17:11:20 +0530
commit674c81d9e1d3499e255e8995701fb65d1358a0ac (patch)
tree72a46393825b06607cc81cc0c8d3af1f50babbbf /yaksh/views.py
parentf85fbae3c76595a8f2039a60c0e7051d39dfe643 (diff)
downloadonline_test-674c81d9e1d3499e255e8995701fb65d1358a0ac.tar.gz
online_test-674c81d9e1d3499e255e8995701fb65d1358a0ac.tar.bz2
online_test-674c81d9e1d3499e255e8995701fb65d1358a0ac.zip
Change settings
- Add messages in grading systems page - Add password validator in settings - Fix naming in templates
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py2
1 files changed, 1 insertions, 1 deletions
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":