diff options
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 870cce90b..81fc4c069 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -3318,6 +3318,10 @@ class IshtarUser(FullSearch): def __str__(self): return str(self.person) + @classmethod + def class_verbose_name(cls): + return cls._meta.verbose_name + def show_field_number(self, update=False): cache_key, value = get_cache(self.__class__, ["show_field_number"]) if not update and value is not None: |