summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
authormahesh2018-02-08 13:02:37 +0530
committermaheshgudi2018-03-16 15:15:50 +0530
commit55dd1da1191dccbf66193ccd4d1a1a833bfe4513 (patch)
tree6704f6d731b1dd2d3610d69a67cee2f38b16b3e6 /yaksh/views.py
parentb3bb71b80bd10eb49c7930d9cf6be109673cbe53 (diff)
downloadonline_test-55dd1da1191dccbf66193ccd4d1a1a833bfe4513.tar.gz
online_test-55dd1da1191dccbf66193ccd4d1a1a833bfe4513.tar.bz2
online_test-55dd1da1191dccbf66193ccd4d1a1a833bfe4513.zip
Add testcases for custom templatetag filters
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 9a66f09..f644ac9 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -242,8 +242,6 @@ def add_question(request, question_id=None):
if qform.is_valid():
question = qform.save(commit=False)
question.user = user
- if question.type == "arrange":
- question.shuffle_testcases = True
question.save()
# many-to-many field save function used to save the tags
qform.save_m2m()