From 418b5c205ca4a9c2bdf502c7e2c1d37d0fb7a203 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sat, 9 Feb 2008 01:02:37 +0100 Subject: [PATCH] * Also sent email notifications to lextalionis@evolution-events.nl (hardcoded for now...). --- influences/notify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/influences/notify.py b/influences/notify.py index 00b16cc..f078bc9 100644 --- a/influences/notify.py +++ b/influences/notify.py @@ -5,12 +5,12 @@ from ee.tools.notify import notify from django.contrib.auth.models import Group def character_saved(instance, created): - notify(instance.player, 'influences/email/character_changed.html', {'character' : instance, 'created' : created}) + notify([instance.player, 'lextalionis@evolution-events.nl'], 'influences/email/character_changed.html', {'character' : instance, 'created' : created}) dispatcher.connect(character_saved, signals.post_save, Character) def influence_saved(instance, created): # TODO: Perhaps only notify when the status is / becomes Done? - notify(instance.character.player, 'influences/email/influence_changed.html', {'influence' : instance, 'created' : created}) + notify([instance.character.player, 'lextalionis@evolution-events.nl'], 'influences/email/influence_changed.html', {'influence' : instance, 'created' : created}) dispatcher.connect(influence_saved, signals.post_save, Influence) -- 2.30.2