Various deliverers for django rest hooks and django rest hooks ng.
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
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