From 60a68e7d389a9a86496a215de3898b0e7b79fa14 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Mon, 21 Nov 2011 02:53:23 +0530 Subject: BUG: Monitor was not showing right quiz. --- exam/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit