[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:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user