dont include users in json. slow and not used

This commit is contained in:
j 2016-01-07 11:36:34 +05:30
parent a04b81444b
commit 650f30a776

View file

@ -108,7 +108,9 @@ class Item(db.Model):
if t:
j['transferadded'] = t.added
j['transferprogress'] = t.progress
j['users'] = list(map(str, list(self.users)))
# unused and slow
#j['users'] = list(map(str, list(self.users)))
if self.info:
j.update(self.info)