1 | ===================================================================
|
---|
2 | --- signals.txt (revision 8963)
|
---|
3 | +++ signals.txt (working copy)
|
---|
4 | @@ -97,6 +97,10 @@
|
---|
5 | to be sent. This makes your app's ``models.py`` a good place to put
|
---|
6 | registration of signal handlers.
|
---|
7 |
|
---|
8 | + Note also that Django stores signal handlers as weak references by default,
|
---|
9 | + so if your handler is a local function, it may be garbage collected. To
|
---|
10 | + prevent this, pass ``weak=False`` when you call the signal's ``connect``.
|
---|
11 | +
|
---|
12 | Connecting to signals sent by specific senders
|
---|
13 | ----------------------------------------------
|
---|
14 |
|
---|