app/django/test/signals.py
author Sverre Rabbelier <srabbelier@gmail.com>
Fri, 20 Mar 2009 09:09:48 +0000
changeset 1944 992ab773e3ff
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Minor style fixes Also, move the stripping of the binary name to the __main__ part, otherwise a nonsense argument has to be provided when running from the interactive interpreter. Patch by: Sverre Rabbelier

from django.dispatch import Signal

template_rendered = Signal(providing_args=["template", "context"])