projects
/
matthijs
/
projects
/
xerxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
ccea168
)
Merge branch 'production'
author
Matthijs Kooijman
<matthijs@stdin.nl>
Sat, 31 Jan 2009 13:27:02 +0000
(14:27 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Sat, 31 Jan 2009 13:27:02 +0000
(14:27 +0100)
* production:
Reconnect the influence_saved notify handler.
influences/notify.py
patch
|
blob
|
history
diff --git
a/influences/notify.py
b/influences/notify.py
index 3b5d874b5239a6e05390307b5449c41edc867d9a..d53ab36a51a9dd6377ec85c487ac62e68a3a6aac 100644
(file)
--- a/
influences/notify.py
+++ b/
influences/notify.py
@@
-23,6
+23,8
@@
def influence_saved(**kwargs):
# TODO: Perhaps only notify when the status is / becomes Done?
notify(recipients, 'influences/email/influence_changed.html', {'influence' : instance, 'created' : created})
+signals.post_save.connect(influence_saved, sender=Influence)
+
def comment_saved(**kwargs):
if (settings.DEBUG):
return