django-orchestra-test/orchestra/contrib/orchestration/signals.py

15 lines
463 B
Python
Raw Normal View History

2015-03-12 14:05:23 +00:00
import django.dispatch
pre_action = django.dispatch.Signal(providing_args=['backend', 'instance', 'action'])
post_action = django.dispatch.Signal(providing_args=['backend', 'instance', 'action'])
2015-05-05 19:42:55 +00:00
pre_prepare = django.dispatch.Signal(providing_args=['backend'])
post_prepare = django.dispatch.Signal(providing_args=['backend'])
pre_commit = django.dispatch.Signal(providing_args=['backend'])
post_commit = django.dispatch.Signal(providing_args=['backend'])