fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Connecting WL + publishing author.
[redakcja.git]
/
src
/
cover
/
models.py
diff --git
a/src/cover/models.py
b/src/cover/models.py
index
04c2a6b
..
87ac036
100644
(file)
--- a/
src/cover/models.py
+++ b/
src/cover/models.py
@@
-73,7
+73,7
@@
class Image(models.Model):
img,
save=False
)
img,
save=False
)
- super().save(
**kwargs
)
+ super().save(
update_fields=['use_file']
)
def get_absolute_url(self):
return reverse('cover_image', args=[self.id])
def get_absolute_url(self):
return reverse('cover_image', args=[self.id])