Skip to content
Snippets Groups Projects
Commit 615f36b5 authored by Matthieu Fesselier's avatar Matthieu Fesselier
Browse files

bugfix: disable permissions while not fixed

parent 69bdfb2c
No related branches found
Tags v0.0.21
No related merge requests found
......@@ -27,7 +27,7 @@ class Notification(Model):
unread = models.BooleanField(default=True)
class Meta(Model.Meta):
permission_classes = [InboxPermissions]
#permission_classes = [InboxPermissions]
ordering = ['date']
def __str__(self):
......@@ -73,4 +73,4 @@ def send_request(target, object_iri):
@receiver(post_save, sender=Notification)
def send_email_on_notification(sender, instance, **kwargs):
send_mail('Notification on staging.happy-dev.fr', instance.summary, 'from@example.com', [instance.user.email],
fail_silently=False)
fail_silently=True)
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