summaryrefslogtreecommitdiffstats
path: root/askbot/models
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-16 01:20:05 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-16 01:20:05 -0400
commitd43de82ff1167bef372933dafebd8c19b47acf06 (patch)
tree20f45d57cec41e2f532de047dbf6c56b1db8a88e /askbot/models
parent68883de9a3f294d3dfa7e59e6a8765c341d710a5 (diff)
downloadaskbot-d43de82ff1167bef372933dafebd8c19b47acf06.tar.gz
askbot-d43de82ff1167bef372933dafebd8c19b47acf06.tar.bz2
askbot-d43de82ff1167bef372933dafebd8c19b47acf06.zip
added another signal - new_comment_posted, in hindsight maybe we should have had just one "new_post_created" instead of the three separate ones
Diffstat (limited to 'askbot/models')
-rw-r--r--askbot/models/signals.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/askbot/models/signals.py b/askbot/models/signals.py
index 4104ec62..42a9c787 100644
--- a/askbot/models/signals.py
+++ b/askbot/models/signals.py
@@ -31,6 +31,9 @@ new_answer_posted = django.dispatch.Signal(
new_question_posted = django.dispatch.Signal(
providing_args=['question', 'user', 'form_data']
)
+new_comment_posted = django.dispatch.Signal(
+ providing_args=['comment', 'user', 'form_data']
+)
answer_edited = django.dispatch.Signal(
providing_args=['answer', 'user', 'form_data']
)