summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
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 92b0ee0..a443e34 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 """