diff --git a/src/logger/models.py b/src/logger/models.py index 48774c199..f7f2c421a 100644 --- a/src/logger/models.py +++ b/src/logger/models.py @@ -29,6 +29,9 @@ class Log(models.Model): class Meta(object): ordering = ("-time",) + def __str__(self): + return self.message + @classmethod def error(cls, message, component): cls.objects.create(