diff options
author | ankitjavalkar | 2018-03-20 16:14:34 +0530 |
---|---|---|
committer | ankitjavalkar | 2018-04-18 15:45:27 +0530 |
commit | f5fa97802447808744cfc591cc3855a9b57e6d32 (patch) | |
tree | 7ad6bca66e23ab3c18ea41bfa68e128c38936cbc /yaksh/views.py | |
parent | e97249a733a8d915bc50228867ae6ad633d77ae6 (diff) | |
download | online_test-f5fa97802447808744cfc591cc3855a9b57e6d32.tar.gz online_test-f5fa97802447808744cfc591cc3855a9b57e6d32.tar.bz2 online_test-f5fa97802447808744cfc591cc3855a9b57e6d32.zip |
Add test cases
Diffstat (limited to 'yaksh/views.py')
-rw-r--r-- | yaksh/views.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/yaksh/views.py b/yaksh/views.py index dd62ec5..5ebe0b5 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -535,8 +535,6 @@ def start(request, questionpaper_id=None, attempt_num=None, course_id=None, ) # allowed to start if not quest_paper.can_attempt_now(user, course_id)[0]: - # msg = "You cannot attempt {0} quiz more than {1} time(s)".format( - # quest_paper.quiz.description, quest_paper.quiz.attempts_allowed) msg = quest_paper.can_attempt_now(user, course_id)[1] if is_moderator(user): return prof_manage(request, msg=msg) |