fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change field length.
[redakcja.git]
/
src
/
cover
/
models.py
diff --git
a/src/cover/models.py
b/src/cover/models.py
index
d766222
..
2c452a2
100644
(file)
--- 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')
)