Skip to content
Snippets Groups Projects
Commit b91fabd9 authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

Merge branch 'gm-update' into 'master'

update: InboxPermissions removed

See merge request startinblox/djangoldp-packages/djangoldp-notifications!15
parents 67bfb200 75cba59f
No related branches found
Tags v0.0.32
No related merge requests found
...@@ -14,7 +14,6 @@ from django.urls import NoReverseMatch ...@@ -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): ...@@ -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']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment