From: Matthijs Kooijman Date: Sat, 9 Feb 2008 00:02:37 +0000 (+0100) Subject: * Also sent email notifications to lextalionis@evolution-events.nl (hardcoded for... X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=418b5c205ca4a9c2bdf502c7e2c1d37d0fb7a203;p=matthijs%2Fprojects%2Fxerxes.git * Also sent email notifications to lextalionis@evolution-events.nl (hardcoded for now...). --- 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)