This commit is contained in:
Alvaro Mariano 2024-05-08 21:56:19 -03:00
parent d1b9187df0
commit 14f7651c35

View file

@ -70,10 +70,8 @@ def notify_handler(sender, **kwargs):
setattr(newnotify, key, kwargs.pop(key))
newnotify.data = kwargs
newnotify.save()
new_notifications.append(newnotify)
return new_notifications
return Notification.objects.bulk_create(new_notifications)
notify = Signal()