Update models.py

This commit is contained in:
Gaëlle Morin 2019-08-01 12:19:05 +00:00
parent 97e834bcaa
commit 5dcfb47991
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ class Notification(Model):
auto_author = 'user'
ordering = ['-date']
anonymous_perms = ['add']
authenticated_perms = []
owner_perms = ['view', 'change']
def __str__(self):