#11441: Signal documentation should mention 'weak' parameter for connect
------------------------------------+---------------------------------------
Reporter: Mike_A | Owner: nobody
Status: new | Milestone:
Component: Documentation | Version: SVN
Resolution: | Keywords: weak signal
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by aaugustin):
There is already a short explanation for 'weak' here:
http://docs.djangoproject.com/en/dev/ref/signals/#module-
django.db.models.signals
If it should be set to False only for local functions, this explanation is
sufficient.
----
On the other hand, the docs do not mention dispatch_uid at all. There is a
note in the wiki, which could (should?) be moved to the signal
documentation:
http://code.djangoproject.com/wiki/Signals#Helppost_saveseemstobeemittedtwiceforeachsave
I found #3951 and that wiki page after a long pdb session, trying to
understand why my handlers were called twice...
----
send_robust and disconnect only have docstrings, as far as I can tell. So
currently it's RTFS :)
--
Ticket URL: <http://code.djangoproject.com/ticket/11441#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.