summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yaksh/test_models.py2
-rw-r--r--yaksh/views.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/yaksh/test_models.py b/yaksh/test_models.py
index 3ae181c..8b9aa37 100644
--- a/yaksh/test_models.py
+++ b/yaksh/test_models.py
@@ -21,7 +21,7 @@ import os
import shutil
import tempfile
from threading import Thread
-from collections import Counter, defaultdict
+from collections import defaultdict
from yaksh import settings
diff --git a/yaksh/views.py b/yaksh/views.py
index 3eaa165..68d2b8a 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -568,7 +568,6 @@ def show_question(request, question, paper, error_message=None,
previous_question=None):
"""Show a question if possible."""
quiz = paper.question_paper.quiz
- questions = paper.questions.all()
quiz_type = 'Exam'
can_skip = False
if previous_question: