app/django/core/signals.py
author Sverre Rabbelier <srabbelier@gmail.com>
Fri, 30 Jan 2009 21:58:53 +0000
changeset 1089 810d466514c9
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Copy the default django patterns rather than modifying them This prevents an ever-growing list of urls in the case that getDjangoURLPatterns is called multiple times. Patch by: Sverre Rabbelier

from django.dispatch import Signal

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