projects
/
matthijs
/
projects
/
xerxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b7d5e30
)
* Also sent email notifications to lextalionis@evolution-events.nl (hardcoded for...
author
Matthijs Kooijman
<matthijs@stdio.flexvps.nl>
Sat, 9 Feb 2008 00:02:37 +0000
(
01:02
+0100)
committer
Matthijs Kooijman
<matthijs@stdio.flexvps.nl>
Sat, 9 Feb 2008 00:02:37 +0000
(
01:02
+0100)
influences/notify.py
patch
|
blob
|
history
diff --git
a/influences/notify.py
b/influences/notify.py
index 00b16cc56d89ad8f1687080907e3ee7b7b9397db..f078bc9fff03fa62862ae786ac00049ef4e675b0 100644
(file)
--- 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):
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?
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)
dispatcher.connect(influence_saved, signals.post_save, Influence)