Skip to content
Snippets Groups Projects
Commit 3feeb796 authored by Matthieu Fesselier's avatar Matthieu Fesselier
Browse files

update: ordering by date

parent 4c01ef39
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ class Notification(Model):
class Meta(Model.Meta):
#permission_classes = [InboxPermissions]
depth = 0
ordering = ['date']
ordering = ['-date']
def __str__(self):
return '{}'.format(self.type)
......
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