summaryrefslogtreecommitdiff
path: root/testapp/exam
diff options
context:
space:
mode:
authorprathamesh2015-02-24 17:12:01 +0530
committerprathamesh2015-02-24 17:12:01 +0530
commit4f813b92f6a5d0324d777a28ebe65d16f7c5e4e8 (patch)
tree4114e7992dda3e410252689032aa5920a9057902 /testapp/exam
parent13c7d6de88a82681d03a98a911457d8fe15afdb3 (diff)
downloadonline_test-4f813b92f6a5d0324d777a28ebe65d16f7c5e4e8.tar.gz
online_test-4f813b92f6a5d0324d777a28ebe65d16f7c5e4e8.tar.bz2
online_test-4f813b92f6a5d0324d777a28ebe65d16f7c5e4e8.zip
Removed print statements
Diffstat (limited to 'testapp/exam')
-rw-r--r--testapp/exam/views.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/testapp/exam/views.py b/testapp/exam/views.py
index 01be95d..69d85c6 100644
--- a/testapp/exam/views.py
+++ b/testapp/exam/views.py
@@ -193,15 +193,10 @@ def intro(request, questionpaper_id):
previous_attempt = attempted_papers[already_attempted-1]
previous_attempt_day = previous_attempt.start_time
today = datetime.datetime.today()
- print "not in"
if previous_attempt.status == 'inprogress':
- print "here"
end_time = previous_attempt.end_time
quiz_time = previous_attempt.question_paper.quiz.duration*60
- print quiz_time
- print (today - previous_attempt_day).seconds
if quiz_time > (today-previous_attempt_day).seconds:
- print "h"
return show_question(request,
previous_attempt.current_question(),
previous_attempt.attempt_number,