summaryrefslogtreecommitdiff
path: root/exam/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'exam/views.py')
-rw-r--r--exam/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/exam/views.py b/exam/views.py
index 7f1f7cf..cda6f38 100644
--- a/exam/views.py
+++ b/exam/views.py
@@ -261,7 +261,7 @@ def monitor(request, quiz_id=None):
quiz_data = {}
try:
- quiz = Quiz.objects.get(active=True)
+ quiz = Quiz.objects.get(id=quiz_id)
except Quiz.DoesNotExist:
q_papers = []
quiz = None