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
Built Distribution
Close
Hashes for django-signalcontrol-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1ab999e7823d923846a1e97b64f6748b391677248b11df5fe2ed578ec368433 |
|
MD5 | 2698751915852c9de457bfd8503c709c |
|
BLAKE2b-256 | 1fdbaca36945e01669120c139fd695da5190ef1c19b3f7a5b6541edca780c9d4 |
Close
Hashes for django_signalcontrol-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f77b7858f9f3116151f1ca970a6619bb58beb0d00be808d789beb99cea122d12 |
|
MD5 | 90776f751d16c6f1574e3dc020e42b79 |
|
BLAKE2b-256 | a109a64e95606a4b9a612f70dc37ba946c73e0f7138cad36c242ad663202b8c4 |