X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/03d4bd47acfcdc6444fdc689ceeb636c5a4e2cae..53e53be2fd5c6ffd0b96928735944aa75b7b2f2d:/src/catalogue/models/book.py?ds=sidebyside diff --git a/src/catalogue/models/book.py b/src/catalogue/models/book.py index 8b85ec718..e5ab5e480 100644 --- 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 + book.update_popularity() cls.published.send(sender=cls, instance=book) return book