Skip to content

MrThearMan/django-signal-webhooks

Repository files navigation

Django Signal Webhooks

Coverage Status GitHub Workflow Status PyPI GitHub GitHub Last Commit GitHub Issues Downloads

Python Version Django Version

pip install django-signal-webhooks

Documentation: https://mrthearman.github.io/django-signal-webhooks/

Source Code: https://github.com/MrThearMan/django-signal-webhooks/

Contributing: https://github.com/MrThearMan/django-signal-webhooks/blob/main/CONTRIBUTING.md


This library enables you to add webhooks to a Django project for any create/update/delete events on your models with a simple configuration. New webhooks can be added in the admin panel, with or without authentication, with plenty of hooks into the webhook sending process to customize them for your needs.

# project/settings.py

# Add to instaled apps
INSTALLED_APPS = [
    ...
    "signal_webhooks",
    ...
]

# Add default webhook configuration to the User model
SIGNAL_WEBHOOKS = {
    "HOOKS": {
        "django.contrib.auth.models.User": ...,
    },
}