summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
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
commitaaeb9f0796321267d9ae09f4bb351f9116246890 (patch)
tree1fe1db4531f7f51a20bbe5a5fa4cfd49235c2974 /ishtar_common/models.py
parentbb2e5296e89ba924cc1e5e361e7dd53067676bbf (diff)
downloadIshtar-aaeb9f0796321267d9ae09f4bb351f9116246890.tar.bz2
Ishtar-aaeb9f0796321267d9ae09f4bb351f9116246890.zip
Account deletion: fix summary
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py4
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: