From e84e28166b085781c69326ae4feb936d3f6a9ded Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 5 Jun 2014 15:08:55 +0530 Subject: main files indented. comments removed from views file --- testapp/exam/views.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'testapp/exam') diff --git a/testapp/exam/views.py b/testapp/exam/views.py index f24215b..da4b5cd 100644 --- a/testapp/exam/views.py +++ b/testapp/exam/views.py @@ -694,9 +694,6 @@ def question(request, q_id, questionpaper_id, success_msg=None): if not paper.question_paper.quiz.active: reason = 'The quiz has been deactivated!' return complete(request, reason, questionpaper_id) - #if new: - # paper.start_time = datetime.datetime.now() - # paper.end_time = datetime.datetime.now() time_left = paper.time_left() if time_left == 0: return complete(request, reason='Your time is up!') -- cgit