app/django/test/signals.py
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 19 Jan 2009 23:25:49 +0000
changeset 820 56eec9c8bb47
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Factor out sendNotification from sendInviteNotification This makes it easier to create different types of notifications, such as a sendNewClubNotification. 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"])