SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit fc845fc2 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Update default ordering for Report

parent bce88f13
No related branches found
No related tags found
No related merge requests found
......@@ -292,6 +292,8 @@ class Report(models.Model):
class Meta:
default_related_name = 'reports'
ordering = ['-date_submitted']
def __str__(self):
return (self.author.user.first_name + ' ' + self.author.user.last_name + ' on ' +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment