From 1c45ca10d4d84b48683f1f7a84aefb251aae3ed3 Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Wed, 17 Feb 2016 00:11:57 +0000 Subject: [PATCH] Patched sorting --- src/logger/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger/models.py b/src/logger/models.py index 2e22ec931..48774c199 100644 --- a/src/logger/models.py +++ b/src/logger/models.py @@ -27,7 +27,7 @@ class Log(models.Model): component = models.PositiveIntegerField(choices=COMPONENTS) class Meta(object): - ordering = ("time",) + ordering = ("-time",) @classmethod def error(cls, message, component):