- source_url = models.URLField(verbose_name=_('source URL'))
- download_url = models.URLField(unique=True, verbose_name=_('image download URL'))
- file = models.ImageField(upload_to='cover/image', editable=False, verbose_name=_('file'))
+ source_url = models.URLField(verbose_name=_('source URL'), null=True, blank=True)
+ download_url = models.URLField(unique=True, verbose_name=_('image download URL'), null=True, blank=True)
+ file = models.ImageField(
+ upload_to='cover/image', storage=OverwriteStorage(), editable=True, verbose_name=_('file'))