diff options
author | maheshgudi | 2016-05-10 17:49:44 +0530 |
---|---|---|
committer | maheshgudi | 2016-05-27 12:43:12 +0530 |
commit | fd146db8ed52d62552c4e27de0b2d803a7e5b4b8 (patch) | |
tree | dc050b54005819052a7453ee2f75f616fc5871f4 /yaksh | |
parent | 6047d34e2f555993b2736da330302395befca8c2 (diff) | |
download | online_test-fd146db8ed52d62552c4e27de0b2d803a7e5b4b8.tar.gz online_test-fd146db8ed52d62552c4e27de0b2d803a7e5b4b8.tar.bz2 online_test-fd146db8ed52d62552c4e27de0b2d803a7e5b4b8.zip |
excludes is_trial in course, quiz forms
Diffstat (limited to 'yaksh')
-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 """ |