From bc58e659a3d98dac5dabfc4c48f903a46df3584c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 22 Oct 2011 14:51:56 +0200 Subject: [PATCH] add rightsLevel to json --- pandora/item/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index af122adf..6a20a015 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -403,7 +403,8 @@ class Item(models.Model): def get_json(self, keys=None): i = { 'id': self.itemId, - 'rendered': self.rendered + 'rendered': self.rendered, + 'rightsLevel': self.level } i.update(self.external_data) i.update(self.data)