diff --git a/bots/modules/overlay.py b/bots/modules/overlay.py index 57abac7..d054f21 100644 --- a/bots/modules/overlay.py +++ b/bots/modules/overlay.py @@ -68,7 +68,7 @@ class OverlayImage(models.Model): class ImageForm(forms.ModelForm): - image = forms.ImageField(widget=forms.ClearableFileInput(attrs={'accept': 'image/png'})) + image = forms.ImageField(widget=forms.ClearableFileInput(attrs={'accept': 'image/png'}), required=False) class Meta: model = OverlayImage