X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/87bd94a94dc6cc3dbf47db2bdd17761b3f400138..9b533fdbfd08bd764744ae3a0d4717c87b61cf18:/src/cover/models.py diff --git a/src/cover/models.py b/src/cover/models.py index d7662227..2c452a27 100644 --- a/src/cover/models.py +++ b/src/cover/models.py @@ -33,6 +33,7 @@ class Image(models.Model): download_url = models.URLField(max_length=4096, unique=True, verbose_name=_('image download URL'), null=True, blank=True) file = models.ImageField( upload_to='cover/image', + max_length=1024, storage=OverwriteStorage(), verbose_name=_('file') )