summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authormahesh2018-02-16 16:30:55 +0530
committermaheshgudi2018-03-16 15:17:20 +0530
commit140b6c6a06269cc39eae192605f623c7818e9260 (patch)
tree23cb79c0dd0931120cf0959e35534fad8118e321 /yaksh/forms.py
parent366f9adce899b4cfd1e7a0e9a74dd5602fb0345a (diff)
downloadonline_test-140b6c6a06269cc39eae192605f623c7818e9260.tar.gz
online_test-140b6c6a06269cc39eae192605f623c7818e9260.tar.bz2
online_test-140b6c6a06269cc39eae192605f623c7818e9260.zip
Add shuffle_testcases to QuestionPaper model instead of Question
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py
index 258a1ee..e53eda3 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -308,7 +308,7 @@ class UploadFileForm(forms.Form):
class QuestionPaperForm(forms.ModelForm):
class Meta:
model = QuestionPaper
- fields = ['shuffle_questions']
+ fields = ['shuffle_questions', 'shuffle_testcases']
class LessonForm(forms.ModelForm):