diff options
author | Prabhu Ramachandran | 2011-11-21 02:53:23 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2011-11-21 02:53:23 +0530 |
commit | 60a68e7d389a9a86496a215de3898b0e7b79fa14 (patch) | |
tree | 089e2fc10c0a5225842e5ac9dae15d339e28a2f2 /exam | |
parent | c2185243e9e3e8a66a2a4c7a549d9bc00fd9f2fa (diff) | |
download | online_test-60a68e7d389a9a86496a215de3898b0e7b79fa14.tar.gz online_test-60a68e7d389a9a86496a215de3898b0e7b79fa14.tar.bz2 online_test-60a68e7d389a9a86496a215de3898b0e7b79fa14.zip |
BUG: Monitor was not showing right quiz.
Diffstat (limited to 'exam')
-rw-r--r-- | exam/views.py | 2 |
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 |