Merge commit '645219bfa68384dad930269b94e2ddf8b4cd3488' into api
[wolnelektury.git] / apps / catalogue / models.py
index ef923fa..34c1d0b 100644 (file)
@@ -562,7 +562,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()