app/django/core/signals.py
author Sverre Rabbelier <srabbelier@gmail.com>
Thu, 05 Mar 2009 19:20:02 +0000
changeset 1677 b2cf6ad50a2a
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Make it possible to add some default values to the context Currently only used in show, but easy enough to add elsewhere. Patch by: Sverre Rabbelier

from django.dispatch import Signal

request_started = Signal()
request_finished = Signal()
got_request_exception = Signal(providing_args=["request"])