fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Changed JSONField implementation. Now to get and set decoded value you must use get_...
[wolnelektury.git]
/
apps
/
catalogue
/
models.py
diff --git
a/apps/catalogue/models.py
b/apps/catalogue/models.py
index
7be0f82
..
0e0e98f
100644
(file)
--- a/
apps/catalogue/models.py
+++ b/
apps/catalogue/models.py
@@
-173,7
+173,7
@@
class Book(models.Model):
book_shelves = list(book.tags.filter(category='set'))
book.title = book_info.title
- book.
extra_info = book_info.to_dict(
)
+ book.
set_extra_info_value(book_info.to_dict()
)
book._short_html = ''
book.save()