Signals documentation + import
|Reported by:||miohtama||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The signals manual page
does not mention to which module your custom signal handlers and their connect() methods should put. This is a problem because if the file is not in the explicit import chain, the signal handler is never installed. This may happen e.g. when you the signal handler connect() is called in views.py main body, but view functions are referred by name only in url mapper: the signal handler is not installed until the first view is opened.
Could documentation be updated to have the best practice regarding this?