diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-17 16:11:42 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:23:17 +0100 |
commit | c73c38ab243b3a54a36b284376d9fb986bce02d7 (patch) | |
tree | 1fe1db4531f7f51a20bbe5a5fa4cfd49235c2974 /ishtar_common/models.py | |
parent | 9a33671a0c5f788f85d23c34f880d0994789e675 (diff) | |
download | Ishtar-c73c38ab243b3a54a36b284376d9fb986bce02d7.tar.bz2 Ishtar-c73c38ab243b3a54a36b284376d9fb986bce02d7.zip |
Account deletion: fix summary
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: |