mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-10 00:18:57 +00:00
Fixed merge conflict and did some pep8
This commit is contained in:
@@ -26,6 +26,9 @@ class Log(models.Model):
|
||||
level = models.PositiveIntegerField(choices=LEVELS, default=LEVEL_INFO)
|
||||
component = models.PositiveIntegerField(choices=COMPONENTS)
|
||||
|
||||
class Meta(object):
|
||||
ordering = ("time",)
|
||||
|
||||
@classmethod
|
||||
def error(cls, message, component):
|
||||
cls.objects.create(
|
||||
|
Reference in New Issue
Block a user