From 37a4f9704bcd7e3590b61ff4668bc547a232ed7f Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Wed, 19 Apr 2017 10:43:25 +0530 Subject: Hide field in CourseForm --- yaksh/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaksh/forms.py b/yaksh/forms.py index 1306e7d..d56fb04 100644 --- a/yaksh/forms.py +++ b/yaksh/forms.py @@ -288,7 +288,7 @@ class CourseForm(forms.ModelForm): class Meta: model = Course exclude = ['creator', 'requests', 'students', 'rejected', - 'created_on', 'is_trial', 'teachers'] + 'created_on', 'is_trial', 'hidden', 'teachers'] class ProfileForm(forms.ModelForm): -- cgit