diff options
author | prathamesh | 2014-06-05 15:08:55 +0530 |
---|---|---|
committer | prathamesh | 2014-06-05 15:08:55 +0530 |
commit | e84e28166b085781c69326ae4feb936d3f6a9ded (patch) | |
tree | 82d03d3eb656f2d1fb44587581768136e64decc2 /testapp/exam | |
parent | fa1cdf5c8f92715f2b3866f0a17e2439d27557c5 (diff) | |
download | online_test-e84e28166b085781c69326ae4feb936d3f6a9ded.tar.gz online_test-e84e28166b085781c69326ae4feb936d3f6a9ded.tar.bz2 online_test-e84e28166b085781c69326ae4feb936d3f6a9ded.zip |
main files indented.
comments removed from views file
Diffstat (limited to 'testapp/exam')
-rw-r--r-- | testapp/exam/views.py | 3 |
1 files changed, 0 insertions, 3 deletions
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!') |