X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c51d32b7b97016260e4c60dda9fbbd9eb25420ce..1c013c31745b335962a07057f962e47212faf80f:/src/cover/models.py?ds=sidebyside 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') )