Python signals

Signal listeners (or hooks) are Python callables that are automatically called on certain events. The callable receives relevant parameters in the context of the event. This techniques allows code decoupling: you can change the application behavior without changing the original source code. And therefore, you will not have to merge your changes on every Fleio package upgrade.

Or as Django documentation describes signals:

Django includes a “signal dispatcher” which helps allow decoupled applications get notified when actions occur elsewhere in the framework. In a nutshell, signals allow certain senders to notify a set of receivers that some action has taken place. They’re especially useful when many pieces of code may be interested in the same events.

Django signals

Learn how to write Django signals:

Signals provided by Django that you can find useful to customize Fleio include:

Django offers

Fleio signals

Fleio will add signals by the same model Django uses signals.

We’ll update this page with the signals provide by Fleio.

Need a signal? Contact us and asked for it.