Changed JSONField implementation. Now to get and set decoded value you must use get_...
authorMarek Stępniowski <marek@stepniowski.com>
Sat, 29 Nov 2008 22:40:20 +0000 (23:40 +0100)
committerMarek Stępniowski <marek@stepniowski.com>
Mon, 1 Dec 2008 19:04:48 +0000 (20:04 +0100)
commit6bc19d4206b34e7710f1bd807a1307e737367183
tree27be594a6d301860d49e6b43504dbb52d4fb9515
parent436a40e82949de8083903be6b4e1ee79ec6bc014
Changed JSONField implementation. Now to get and set decoded value you must use get_%s_value and set_%s_value accordingly. Normal field access returns jsonified value.

This fixes a bug during saving book info in admin.
apps/catalogue/fields.py
apps/catalogue/models.py
apps/catalogue/views.py
wolnelektury/templates/catalogue/book_detail.html