@receiver(pre_delete, sender=Node, dispatch_uid='<STR_LIT>')<EOL>def node_deleted_handler(sender, **kwargs):
obj = kwargs['<STR_LIT>']<EOL>queryset = exclude_owner_of_node(obj)<EOL>create_notifications.delay(**{<EOL>"<STR_LIT>": queryset,<EOL>"<STR_LIT>": Notification,<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": obj<EOL>})<EOL>
send notification when a node is deleted according to users's settings