1 from django
.dispatch
import Signal
3 class_prepared
= Signal(providing_args
=["class"])
5 pre_init
= Signal(providing_args
=["instance", "args", "kwargs"])
6 post_init
= Signal(providing_args
=["instance"])
8 pre_save
= Signal(providing_args
=["instance", "raw", "using"])
9 post_save
= Signal(providing_args
=["instance", "raw", "created", "using"])
11 pre_delete
= Signal(providing_args
=["instance", "using"])
12 post_delete
= Signal(providing_args
=["instance", "using"])
14 post_syncdb
= Signal(providing_args
=["class", "app", "created_models", "verbosity", "interactive"])
16 m2m_changed
= Signal(providing_args
=["action", "instance", "reverse", "model", "pk_set", "using"])