in the docs there is this paragraph: "Note also that Django stores signal handlers as weak references by default, so if your handler is a local function, it may be garbage collected. To prevent this, pass weak=False when you call the signal’s connect()."
Can someone please explain to me what it means? what's a "local function" in this sense? a function in the same file as the signal_name.connect(...) call? what is the rationale for the weak reference behavior, presumably it's desirable most of the time? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.