[UPDT] GENERAL: Updated horilla abstract model class by adding function to fetch model verbose_name_plural

This commit is contained in:
Horilla
2025-04-22 11:52:15 +05:30
parent 364f84e32d
commit 47eaa2a284

View File

@@ -102,6 +102,9 @@ class HorillaModel(models.Model):
def get_verbose_name(self):
return self._meta.verbose_name
def get_verbose_name_plural(self):
return self._meta.verbose_name_plural
@classmethod
def find(cls, object_id):
"""