forked from 0x2620/pandora
make list info editable, and update it if list data changes
This commit is contained in:
parent
7dff4fa402
commit
61e6e097be
4 changed files with 84 additions and 28 deletions
|
|
@ -95,7 +95,7 @@ class List(models.Model):
|
|||
|
||||
def json(self, keys=None, user=None):
|
||||
if not keys:
|
||||
keys=['id', 'name', 'user', 'type', 'query', 'status', 'subscribed', 'posterFrames']
|
||||
keys=['id', 'name', 'user', 'type', 'query', 'status', 'subscribed', 'posterFrames', 'description']
|
||||
response = {}
|
||||
for key in keys:
|
||||
if key == 'items':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue