mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge 1b02ff79a7 into afe009e6c9
This commit is contained in:
commit
cc0caea9e5
1 changed files with 6 additions and 0 deletions
|
|
@ -57,6 +57,12 @@ which you map the signals to your plugin logic. Let's take a simple example::
|
|||
def register():
|
||||
signals.initialized.connect(test)
|
||||
|
||||
.. note::
|
||||
|
||||
Signal receivers are weakly-referenced, thus, they must not be defined
|
||||
within your ``register`` callable or they will be garbage-collected before
|
||||
the signal is emitted.
|
||||
|
||||
List of signals
|
||||
===============
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue