From 650f30a776293114d73766ed8be21e4619f8129a Mon Sep 17 00:00:00 2001 From: j Date: Thu, 7 Jan 2016 11:36:34 +0530 Subject: [PATCH] dont include users in json. slow and not used --- oml/item/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oml/item/models.py b/oml/item/models.py index ac9e919..a636bee 100644 --- a/oml/item/models.py +++ b/oml/item/models.py @@ -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)