fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
missing piwik tags
[wolnelektury.git]
/
apps
/
catalogue
/
models.py
diff --git
a/apps/catalogue/models.py
b/apps/catalogue/models.py
index
f2be7d1
..
4552962
100644
(file)
--- 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()