dispatch.Signal.disconnect()

Signal.disconnect(receiver=None, sender=None, dispatch_uid=None) [source]

To disconnect a receiver from a signal, call Signal.disconnect(). The arguments are as described in Signal.connect(). The method returns True if a receiver was disconnected and False if not.

The receiver argument indicates the registered receiver to disconnect. It may be None if dispatch_uid is used to identify the receiver.

Deprecated since version 1.9: The weak argument is deprecated as it has no effect. It will be removed in Django 2.0.

doc_Django
2016-10-09 18:36:29
Comments
Leave a Comment

Please login to continue.