summaryrefslogtreecommitdiff
path: root/yaksh/forms.py
diff options
context:
space:
mode:
authorankitjavalkar2017-01-23 15:37:03 +0530
committerankitjavalkar2017-01-23 15:37:03 +0530
commit8009453578839f811b4d353dd61ff8d4ce5b68c4 (patch)
treecdeb07c773b9a6004e7a1314f5f97ef798a874c5 /yaksh/forms.py
parente75d5e67bc129c0d55ce94496ef4636c80dba0eb (diff)
downloadonline_test-8009453578839f811b4d353dd61ff8d4ce5b68c4.tar.gz
online_test-8009453578839f811b4d353dd61ff8d4ce5b68c4.tar.bz2
online_test-8009453578839f811b4d353dd61ff8d4ce5b68c4.zip
Add course instructions
Diffstat (limited to 'yaksh/forms.py')
-rw-r--r--yaksh/forms.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/yaksh/forms.py b/yaksh/forms.py
index 8a90dee..6ec031c 100644
--- a/yaksh/forms.py
+++ b/yaksh/forms.py
@@ -266,9 +266,11 @@ class QuestionFilterForm(forms.Form):
class CourseForm(forms.ModelForm):
+ """ course form for moderators """
+
class Meta:
model = Course
- fields = ['name', 'active', 'enrollment']
+ fields = ['name', 'active', 'enrollment', 'instructions']
class ProfileForm(forms.ModelForm):