Merge branch 'gm-update' into 'master'
update: InboxPermissions removed See merge request startinblox/djangoldp-packages/djangoldp-notifications!15
This commit is contained in:
commit
b91fabd9af
@ -14,7 +14,6 @@ from django.urls import NoReverseMatch
|
|||||||
|
|
||||||
from djangoldp.fields import LDPUrlField
|
from djangoldp.fields import LDPUrlField
|
||||||
from djangoldp.models import Model
|
from djangoldp.models import Model
|
||||||
from djangoldp.permissions import InboxPermissions
|
|
||||||
|
|
||||||
from django.template import loader
|
from django.template import loader
|
||||||
|
|
||||||
@ -29,7 +28,6 @@ class Notification(Model):
|
|||||||
unread = models.BooleanField(default=True)
|
unread = models.BooleanField(default=True)
|
||||||
|
|
||||||
class Meta(Model.Meta):
|
class Meta(Model.Meta):
|
||||||
#permission_classes = [InboxPermissions]
|
|
||||||
auto_author = 'user'
|
auto_author = 'user'
|
||||||
ordering = ['-date']
|
ordering = ['-date']
|
||||||
anonymous_perms = ['add']
|
anonymous_perms = ['add']
|
||||||
|
Loading…
Reference in New Issue
Block a user