Skip to main content

A django app to allow dynamic control of signals

Project description


A django extension for dynamically enabling/disabling signals. This application allows django signals to be disabled or enabled on-demand through the django admin interface.

Author David Slusser
Description A django extension for dynamically enabling/disabling signals.
Requirements Python 3.x


Full documentation can be found on Documentation source files are available in the docs folder.


  • pip install django-signalcontrol
  • add signalcontrol to your INSTALLED_APPS
  • run migrations python ./ migrate signalcontrol


signal decorator

SignalControl can be added to a signal with the provided decorator. In the file, import the signalcontrol decorator and add the signal_control decorator to the line directly above the signal definition. Example:

admin interface

An django admin interface for django-signalcontrol is available to set signals to enabled or disabled. This displays all signals that can be controlled, and lists the application, model, signal receiver and signal name. Additionally, full search is available and filters are available for each field. Signals can be enabled or disabled individually or in bulk.

Usage Example

    from signalcontrol.decorators import signal_control

    @receiver(post_save, sender=MyCoolModel)
    def msg_after_my_model_save(sender, instance, created, **kwargs):
        """ some signal """
        print('you just saved an instance of MyCoolModel')

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-signalcontrol, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_signalcontrol-0.1.0-py3-none-any.whl (11.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-signalcontrol-0.1.0.tar.gz (9.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page