mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-04-21 21:44:45 +00:00
Fix #283
This commit is contained in:
parent
d1b9187df0
commit
14f7651c35
1 changed files with 1 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue