fix
This commit is contained in:
parent
f6fe204826
commit
fd62d22cbb
@ -68,7 +68,7 @@ class OverlayImage(models.Model):
|
|||||||
|
|
||||||
|
|
||||||
class ImageForm(forms.ModelForm):
|
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:
|
class Meta:
|
||||||
model = OverlayImage
|
model = OverlayImage
|
||||||
|
Loading…
Reference in New Issue
Block a user