diff options
author | mahesh | 2018-01-15 17:40:06 +0530 |
---|---|---|
committer | maheshgudi | 2018-03-16 15:15:50 +0530 |
commit | 6aeda97b5f37fc7ce50b7fd1f1e0465c42ba0969 (patch) | |
tree | 5793e573cbec6001eb516c91bff73c0e0d9bd72d /yaksh/views.py | |
parent | 06abd01fd28eb10aafd18dd60b790549e0233edc (diff) | |
download | online_test-6aeda97b5f37fc7ce50b7fd1f1e0465c42ba0969.tar.gz online_test-6aeda97b5f37fc7ce50b7fd1f1e0465c42ba0969.tar.bz2 online_test-6aeda97b5f37fc7ce50b7fd1f1e0465c42ba0969.zip |
Add shuffle testcases option to questions
Diffstat (limited to 'yaksh/views.py')
-rw-r--r-- | yaksh/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py index 011b417..17cfb13 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -616,7 +616,7 @@ def show_question(request, question, paper, error_message=None, notification=Non if question.type == "code" else 'You have already attempted this question' ) - test_cases = question.get_test_cases() + test_cases = question.get_ordered_test_cases(paper) files = FileUpload.objects.filter(question_id=question.id, hide=False) course = Course.objects.get(id=course_id) module = course.learning_module.get(id=module_id) |