app/django/test/signals.py
author Sverre Rabbelier <sverre@rabbelier.nl>
Sat, 06 Jun 2009 20:29:09 +0200
changeset 2404 4f87bab3c6b3
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Remove getCallback indirection in modules Instead, assume that the imported module contains the Callback class that was previously returned by getCallback. This is done to prevent a circular import (caused by the __init__ importing a submodule).

from django.dispatch import Signal

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