* Also sent email notifications to lextalionis@evolution-events.nl (hardcoded for...
authorMatthijs Kooijman <matthijs@stdio.flexvps.nl>
Sat, 9 Feb 2008 00:02:37 +0000 (01:02 +0100)
committerMatthijs Kooijman <matthijs@stdio.flexvps.nl>
Sat, 9 Feb 2008 00:02:37 +0000 (01:02 +0100)
influences/notify.py

index 00b16cc56d89ad8f1687080907e3ee7b7b9397db..f078bc9fff03fa62862ae786ac00049ef4e675b0 100644 (file)
@@ -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)