summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-07-05 10:00:35 -0400
committerGitHub2016-07-05 10:00:35 -0400
commit15152d232ab81a1ec6af24b10424d85f1c01d170 (patch)
tree283190f3ab51896e75d538296036272e856a1f7d /yaksh/forms.py
parentc8dfe62663d715dcf4b571c1f738428165734d2a (diff)
parent9c61c84194e6b52913dfc284765a7b7bd77201ad (diff)
downloadonline_test-15152d232ab81a1ec6af24b10424d85f1c01d170.tar.gz
online_test-15152d232ab81a1ec6af24b10424d85f1c01d170.tar.bz2
online_test-15152d232ab81a1ec6af24b10424d85f1c01d170.zip
Merge pull request #101 from maheshgudi/test_modes
Test modes
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py
index 26e0967..8b864d0 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -163,7 +163,7 @@ class QuizForm(forms.ModelForm):
class Meta:
model = Quiz
- fields = '__all__'
+ exclude = ["is_trial"]
class QuestionForm(forms.ModelForm):
@@ -205,7 +205,6 @@ class CourseForm(forms.ModelForm):
model = Course
fields = ['name', 'active', 'enrollment']
-
class ProfileForm(forms.ModelForm):
""" profile form for students and moderators """