summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorCruiseDevice2019-01-14 14:42:01 +0530
committerCruiseDevice2019-01-28 13:07:02 +0530
commit461cfcd6c736a016636932e019476558135f0ccf (patch)
tree64808582c2c3919dfd5cfe002f3f8ff3abbbfb25 /yaksh
parent0a106ab44ec983f4ebebea9b6b1e4b49fedcb473 (diff)
downloadonline_test-461cfcd6c736a016636932e019476558135f0ccf.tar.gz
online_test-461cfcd6c736a016636932e019476558135f0ccf.tar.bz2
online_test-461cfcd6c736a016636932e019476558135f0ccf.zip
Remove unused variables and imports
Diffstat (limited to 'yaksh')
-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: