Signal documentation should mention 'weak' parameter for connect
|Reported by:||Mike_A||Owned by:||Brian Neal|
|Severity:||Keywords:||weak signal dispatch_uid docs|
|Cc:||Brian Neal||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In the documentation for signals: http://docs.djangoproject.com/en/dev/topics/signals/
No reference at all is made to the 'weak' parameter of connect.
This caused me to spend about an hour scratching my head as to why my signals didn't seem to work at all.
In the end I realised I needed to set this to False to stop the signal from dropping the callback and silently failing, but only after writing a debugging signal class.
Change History (13)
comment:1 Changed 7 years ago by
|Patch needs improvement:||unset|
|Version:||1.0 → SVN|