예제 #1
0
def disconnect():
    """ disconnect signals """
    post_save.disconnect(node_created_handler, sender=Node)
    node_status_changed.disconnect(node_status_changed_handler)
    pre_delete.disconnect(node_deleted_handler, sender=Node)
예제 #2
0
def disconnect():
    """ disconnect signals """
    post_save.disconnect(node_created_handler, sender=Node)
    node_status_changed.disconnect(node_status_changed_handler)
    pre_delete.disconnect(node_deleted_handler, sender=Node)
예제 #3
0
def disconnect():
    """ disconnect signals """
    post_save.disconnect(node_created_handler, sender=Node, dispatch_uid='notify_node_created')
    node_status_changed.disconnect(node_status_changed_handler, dispatch_uid='notify_node_status_changed')
    pre_delete.disconnect(node_deleted_handler, sender=Node, dispatch_uid='notify_node_deleted')