This commit is contained in:
bakatrouble 2020-02-10 19:02:45 +03:00
parent f6fe204826
commit fd62d22cbb

View File

@ -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