Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Patched sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
danielquinn committed Feb 17, 2016
1 parent 550184c commit 1c45ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logger/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 1c45ca1

Please sign in to comment.