From c2734bb484a6fba86cb674b8dbb63f46f371a9c6 Mon Sep 17 00:00:00 2001 From: layred Date: Tue, 14 Feb 2023 16:10:42 +0300 Subject: [PATCH] Fix render method AccessTokenWidget --- jet/dashboard/dashboard_modules/yandex_metrika.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jet/dashboard/dashboard_modules/yandex_metrika.py b/jet/dashboard/dashboard_modules/yandex_metrika.py index c424887a..705efbb2 100644 --- a/jet/dashboard/dashboard_modules/yandex_metrika.py +++ b/jet/dashboard/dashboard_modules/yandex_metrika.py @@ -100,7 +100,7 @@ def api_stat_traffic_summary(self, counter, date1, date2, group=None): class AccessTokenWidget(Widget): module = None - def render(self, name, value, attrs=None): + def render(self, name, value, attrs=None, renderer=None): if value and len(value) > 0: link = '%s' % ( reverse('jet-dashboard:yandex-metrika-revoke', kwargs={'pk': self.module.model.pk}),