[UPDT] GENERAL: Updated horilla parent model class by adding another function to access verbose name of a model from html file

This commit is contained in:
Horilla
2025-03-24 11:53:52 +05:30
parent e3f93b2b3e
commit b97009c24e

View File

@@ -99,6 +99,9 @@ class HorillaModel(models.Model):
super(HorillaModel, self).save(*args, **kwargs)
def get_verbose_name(self):
return self._meta.verbose_name
@classmethod
def find(cls, object_id):
"""