Update models.py
This commit is contained in:
parent
97e834bcaa
commit
5dcfb47991
@ -33,6 +33,7 @@ class Notification(Model):
|
|||||||
auto_author = 'user'
|
auto_author = 'user'
|
||||||
ordering = ['-date']
|
ordering = ['-date']
|
||||||
anonymous_perms = ['add']
|
anonymous_perms = ['add']
|
||||||
|
authenticated_perms = []
|
||||||
owner_perms = ['view', 'change']
|
owner_perms = ['view', 'change']
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user