diff options
-rw-r--r-- | yaksh/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py index 26e0967..b61dc31 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): @@ -204,7 +204,7 @@ class CourseForm(forms.ModelForm): class Meta: model = Course fields = ['name', 'active', 'enrollment'] - + exclude = ["is_trial"] class ProfileForm(forms.ModelForm): """ profile form for students and moderators """ |