From c73c38ab243b3a54a36b284376d9fb986bce02d7 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 17 Jul 2022 16:11:42 +0200 Subject: Account deletion: fix summary --- ishtar_common/models.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common/models.py') 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: -- cgit v1.2.3