Skip to main content

A django app to allow dynamic control of signals

Project description

django-signalcontrol

A django extension for dynamically enabling/disabling model-based signals.

Author David Slusser
Description A django extension for dynamically enabling/disabling model-based signals.
Requirements Python 3.x
Django 2.2.x

Documentation

Full documentation can be found on http://django-signalcontrol.readthedocs.org. Documentation source files are available in the docs folder.

Installation

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

Features

signal decorator

admin interface

Usage Example

.. code-block:: python

@receiver(post_save, sender=MyCoolModel) @signal_control def msg_my_model_two(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.

Source Distribution

django-signalcontrol-0.0.5.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

django_signalcontrol-0.0.5-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page