We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 770700c + ab91fd7 commit e8d2961Copy full SHA for e8d2961
django_project/certification/forms.py
@@ -408,7 +408,7 @@ class CourseForm(forms.ModelForm):
408
attrs={'class': 'form-control', 'maxlength': '120'}
409
),
410
)
411
- template_certificate = forms.ImageField(widget=FileUploadInput)
+ template_certificate = forms.ImageField(widget=FileUploadInput, required=False)
412
413
class Meta:
414
model = Course
0 commit comments