From 038ab5d4a1f4c9adbb37d168b01549910898128a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 19 Feb 2020 17:00:20 +0100 Subject: [PATCH] misc: fix method signature for json is_user_dependant (#40033) --- combo/data/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo/data/models.py b/combo/data/models.py index 81c8aa9a..c587943c 100644 --- a/combo/data/models.py +++ b/combo/data/models.py @@ -1167,7 +1167,7 @@ class JsonCellBase(CellBase): def is_visible(self, user=None): return bool(self.url) and super(JsonCellBase, self).is_visible(user=user) - def is_user_dependant(self): + def is_user_dependant(self, context=None): urls = [self.url] + [x['url'] for x in self.additional_data or []] for url in urls: if url and ('user_nameid' in url or 'user_email' in url):