X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/fe4a9a390a93aed8b2380f4864c25f05d7f317ff..52228a02e5543556ce690e25472e95795693563a:/apps/catalogue/models.py diff --git a/apps/catalogue/models.py b/apps/catalogue/models.py index f2be7d1b9..455296217 100644 --- a/apps/catalogue/models.py +++ b/apps/catalogue/models.py @@ -558,7 +558,7 @@ class Book(models.Model): tag.save() book_tags.append(tag) - book.tags = book_tags + book_shelves + book.tags = set(book_tags + book_shelves) book_tag = book.book_tag()