Opened 11 years ago

Closed 11 years ago

#9925 closed (invalid)

Signals documentation + import

Reported by: miohtama Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: 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 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?

Change History (1)

comment:1 Changed 11 years ago by dc

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top