fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disable search
[wolnelektury.git]
/
src
/
catalogue
/
models
/
book.py
diff --git
a/src/catalogue/models/book.py
b/src/catalogue/models/book.py
index
8b85ec7
..
e5ab5e4
100644
(file)
--- a/
src/catalogue/models/book.py
+++ b/
src/catalogue/models/book.py
@@
-465,6
+465,7
@@
class Book(models.Model):
child.parent_cover_changed()
book.save() # update sort_key_author
child.parent_cover_changed()
book.save() # update sort_key_author
+ book.update_popularity()
cls.published.send(sender=cls, instance=book)
return book
cls.published.send(sender=cls, instance=book)
return book