app/django/db/models/signals.py
author Lennard de Rijk <ljvderijk@gmail.com>
Fri, 23 Jan 2009 11:34:58 +0000
changeset 915 27c656c01591
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Added verbose role name to the request model. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed

from django.dispatch import Signal

class_prepared = Signal(providing_args=["class"])

pre_init = Signal(providing_args=["instance", "args", "kwargs"])
post_init = Signal(providing_args=["instance"])

pre_save = Signal(providing_args=["instance", "raw"])
post_save = Signal(providing_args=["instance", "raw", "created"])

pre_delete = Signal(providing_args=["instance"])
post_delete = Signal(providing_args=["instance"])

post_syncdb = Signal(providing_args=["class", "app", "created_models", "verbosity", "interactive"])