update: ordering by date
This commit is contained in:
parent
4c01ef39d5
commit
3feeb79631
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user