From 8009453578839f811b4d353dd61ff8d4ce5b68c4 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Mon, 23 Jan 2017 15:37:03 +0530 Subject: Add course instructions --- yaksh/forms.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'yaksh/forms.py') 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): -- cgit