Signal documentation should mention 'weak' parameter for connect
|Reported by:||Mike_A||Owned by:||gremmie|
|Severity:||Keywords:||weak signal dispatch_uid docs|
|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 6 years ago by sayane
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Version changed from 1.0 to SVN
Changed 5 years ago by gremmie
comment:11 Changed 5 years ago by gabrielhurley
- Resolution set to fixed
- Status changed from assigned to closed