X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/87bd94a94dc6cc3dbf47db2bdd17761b3f400138..491078616e2129745f300c1f0357f5bac52e801d:/src/cover/models.py?ds=inline 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') )