summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authormaheshgudi2016-05-10 17:49:44 +0530
committermaheshgudi2016-05-27 12:43:12 +0530
commitfd146db8ed52d62552c4e27de0b2d803a7e5b4b8 (patch)
treedc050b54005819052a7453ee2f75f616fc5871f4 /yaksh
parent6047d34e2f555993b2736da330302395befca8c2 (diff)
downloadonline_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.py4
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 """