- source_url = models.URLField(verbose_name=_('source URL'), null = True)
- download_url = models.URLField(unique=True, verbose_name=_('image download URL'), null = True)
- file = models.ImageField(upload_to='cover/image', editable=True, 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'))