We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35f42df commit c0f7ce0Copy full SHA for c0f7ce0
webhooks/models.py
@@ -106,5 +106,8 @@ class Log(models.Model):
106
payload = models.TextField()
107
created = models.DateTimeField("Date Created", auto_now_add=True)
108
109
+ class Meta:
110
+ ordering = ['created']
111
+
112
def __unicode__(self):
113
return "Log of %s - %s (%s)" % (self.webhook.get_action_display(), self.webhook.content_type, self.webhook.content_object)
0 commit comments