Various webhook deliverers for django-rest-hooks and django-rest-hooks-ng.
Project description
Various deliverers for django rest hooks and django rest hooks ng.
Installation
To get the latest stable release from PyPi
pip install django-rest-hooks-delivery
To get the latest commit from GitHub
pip install -e git+git://github.com/PressLabs/django-rest-hooks-delivery.git#egg=rest_hooks_delivery
Add rest_hooks_delivery to your INSTALLED_APPS
INSTALLED_APPS = (
...,
'rest_hooks_delivery',
)
Don’t forget to migrate your database
./manage.py migrate rest_hooks_delivery # if you are using django > 1.7
./manage.py syncdb rest_hooks_delivery # if you are using django < 1.7
Usage
Make sure you have added rest_hooks_delivery
to the list of
INSTALLED_APPS
before django.contrib.admin
and that you have
set HOOK_DELIVERER
to one of the available deliverers. Currently only
rest_hooks_delivery.deliverers.retry
is available.
### settings.py ###
INSTALLED_APPS = [
...
'rest_hooks_delivery',
'django.contrib.admin',
]
HOOK_DELIVERER = 'rest_hooks_delivery.deliverers.retry'
It also provides a management command useful for retrying failed hooks.
./manage.py retry_failed_hooks
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-rest-hooks-delivery-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d057138e6bf3996e96254900c8bf2cdf8ff160d6367bf936dcc82acb7b3d5b |
|
MD5 | f92ef7181e34d85d320ff4e6959fdb4a |
|
BLAKE2b-256 | de884e3c0fc9693f450680075e666bb76fb22c0a65f2aefdd73b6e7e64823ba4 |