From 7e3cf29df920451d8c8b65617f1550a000af95ac Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 13 Nov 2020 16:11:44 +0100 Subject: Templates: fix VALUES generation --- ishtar_common/models_common.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ishtar_common/models_common.py') diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py index 903d1d970..d2e118c7a 100644 --- a/ishtar_common/models_common.py +++ b/ishtar_common/models_common.py @@ -1745,8 +1745,7 @@ class Town(Imported, models.Model): 'year': self.year or ""} return values - def get_values(self, prefix='', no_values=False, filtr=None, - no_base_finds=True): + def get_values(self, prefix='', **kwargs): return { prefix or "label": str(self), prefix + "name": self.name, -- cgit v1.2.3