Merge branch 'gm-update' into 'master'

update: InboxPermissions removed

See merge request startinblox/djangoldp-packages/djangoldp-notifications!15
This commit is contained in:
Jean-Baptiste Pasquier 2019-08-01 15:34:59 +00:00
commit b91fabd9af

View File

@ -14,7 +14,6 @@ from django.urls import NoReverseMatch
from djangoldp.fields import LDPUrlField
from djangoldp.models import Model
from djangoldp.permissions import InboxPermissions
from django.template import loader
@ -29,7 +28,6 @@ class Notification(Model):
unread = models.BooleanField(default=True)
class Meta(Model.Meta):
#permission_classes = [InboxPermissions]
auto_author = 'user'
ordering = ['-date']
anonymous_perms = ['add']