From 89667723f59df28360a5e12dd969a8b190caa8d9 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Sat, 31 Jan 2009 14:25:54 +0100 Subject: [PATCH] Reconnect the influence_saved notify handler. The connect statement went missing in 419cb678949006d2c5bd6bf5a3176c67adf4cef7. --- influences/notify.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/influences/notify.py b/influences/notify.py index 1b6fb47..ddcf37c 100644 --- a/influences/notify.py +++ b/influences/notify.py @@ -21,6 +21,8 @@ def influence_saved(**kwargs): # TODO: Perhaps only notify when the status is / becomes Done? notify([instance.character.player, 'lextalionis@evolution-events.nl'], '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 -- 2.30.2