From 550184cbae3f794992339e0871f4a1190bbc27ae Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Wed, 17 Feb 2016 00:11:46 +0000 Subject: [PATCH] Patched sorting --- src/logger/migrations/0001_initial.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/logger/migrations/0001_initial.py b/src/logger/migrations/0001_initial.py index b9b81c296..029fe43c2 100644 --- a/src/logger/migrations/0001_initial.py +++ b/src/logger/migrations/0001_initial.py @@ -23,4 +23,8 @@ class Migration(migrations.Migration): ('component', models.PositiveIntegerField(choices=[(1, 'Consumer'), (2, 'Mail Fetcher')])), ], ), + migrations.AlterModelOptions( + name='log', + options={'ordering': ('-time',)}, + ), ]