diff --git a/courses/forms.py b/courses/forms.py index 9995f65..c012c10 100644 --- a/courses/forms.py +++ b/courses/forms.py @@ -40,9 +40,9 @@ class CourseForm(forms.ModelForm): class UpdateCourseForm(CourseForm): - def __init__(self, *args, **kwargs): - super(UpdateCourseForm, self).__init__(*args, **kwargs) - self.fields["students"].required = False + #def __init__(self, *args, **kwargs): + # super(UpdateCourseForm, self).__init__(*args, **kwargs) + # self.fields["students"].required = False class Meta: model = Course -- libgit2 0.21.2