diff options
Diffstat (limited to 'ishtar_common/models.py')
| -rw-r--r-- | ishtar_common/models.py | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 55d9ed164..0605a961c 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -1879,6 +1879,13 @@ class TitleType(GeneralType):          doc += ", **long_title** {}".format(_("Long title"))          return doc +    def get_values(self, prefix='', **kwargs): +        return { +            prefix: self.label, +            prefix + "txt_idx": self.txt_idx, +            prefix + "long_title": self.long_title +        } +  post_save.connect(post_save_cache, sender=TitleType)  post_delete.connect(post_save_cache, sender=TitleType) | 
