app/django/test/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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
323
ff1a9aa48cfd Load ../vendor/django into trunk/app/django.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 54
diff changeset
     1
from django.dispatch import Signal
ff1a9aa48cfd Load ../vendor/django into trunk/app/django.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 54
diff changeset
     2
ff1a9aa48cfd Load ../vendor/django into trunk/app/django.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 54
diff changeset
     3
template_rendered = Signal(providing_args=["template", "context"])