update: LDPPermissions added
This commit is contained in:
		@ -30,8 +30,10 @@ class Notification(Model):
 | 
			
		||||
 | 
			
		||||
    class Meta(Model.Meta):
 | 
			
		||||
        #permission_classes = [InboxPermissions]
 | 
			
		||||
        depth = 0
 | 
			
		||||
        auto_author = 'user'
 | 
			
		||||
        ordering = ['-date']
 | 
			
		||||
        anonymous_perms = ['add']
 | 
			
		||||
        owner_perms = ['view', 'change']
 | 
			
		||||
 | 
			
		||||
    def __str__(self):
 | 
			
		||||
        return '{}'.format(self.type)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user