diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-11-13 16:11:44 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-02-28 12:15:21 +0100 |
commit | 0f530f4437dd7e6d16526b1a0233d4b5dce86feb (patch) | |
tree | 88275dc5834c42378045f7d905b23673e4ec11c5 /ishtar_common/models_common.py | |
parent | 774f682838f56443daf81c48ffde6377788a10f3 (diff) | |
download | Ishtar-0f530f4437dd7e6d16526b1a0233d4b5dce86feb.tar.bz2 Ishtar-0f530f4437dd7e6d16526b1a0233d4b5dce86feb.zip |
Templates: fix VALUES generation
Diffstat (limited to 'ishtar_common/models_common.py')
-rw-r--r-- | ishtar_common/models_common.py | 3 |
1 files changed, 1 insertions, 2 deletions
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, |