mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #24205 -- Deprecated Signal.disconnect weak parameter.
This commit is contained in:
committed by
Tim Graham
parent
851f5bd413
commit
16ee52d21d
@@ -275,7 +275,7 @@ error instance is returned in the tuple pair for the receiver that raised the er
|
||||
Disconnecting signals
|
||||
=====================
|
||||
|
||||
.. method:: Signal.disconnect([receiver=None, sender=None, weak=True, dispatch_uid=None])
|
||||
.. method:: Signal.disconnect([receiver=None, sender=None, dispatch_uid=None])
|
||||
|
||||
To disconnect a receiver from a signal, call :meth:`Signal.disconnect`. The
|
||||
arguments are as described in :meth:`.Signal.connect`. The method returns
|
||||
@@ -287,3 +287,8 @@ may be ``None`` if ``dispatch_uid`` is used to identify the receiver.
|
||||
.. versionchanged:: 1.8
|
||||
|
||||
The boolean return value was added.
|
||||
|
||||
.. deprecated:: 1.9
|
||||
|
||||
The ``weak`` argument is deprecated as it has no effect. It will be removed
|
||||
in Django 2.1.
|
||||
|
||||
Reference in New Issue
Block a user