add rightsLevel to json
This commit is contained in:
parent
eaaf76e149
commit
bc58e659a3
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue