diff options
Diffstat (limited to 'yaksh/forms.py')
-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 a0eee71..f7f7a10 100644 --- a/yaksh/forms.py +++ b/yaksh/forms.py @@ -276,8 +276,8 @@ class CourseForm(forms.ModelForm): class Meta: model = Course - fields = ['name', 'active', 'enrollment', - 'start_enroll_time', 'end_enroll_time', 'instructions'] + exclude = ['creator', 'requests', 'students', 'rejected', + 'created_on', 'is_trial', 'teachers'] class ProfileForm(forms.ModelForm): |