diff options
Diffstat (limited to 'docs/ref/contrib')
| -rw-r--r-- | docs/ref/contrib/comments/signals.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/ref/contrib/comments/signals.txt b/docs/ref/contrib/comments/signals.txt index d3fd85cad5..cd406b56dd 100644 --- a/docs/ref/contrib/comments/signals.txt +++ b/docs/ref/contrib/comments/signals.txt @@ -16,6 +16,7 @@ comment_will_be_posted ====================== .. data:: django.contrib.comments.signals.comment_will_be_posted + :module: Sent just before a comment will be saved, after it's been sanity checked and submitted. This can be used to modify the comment (in place) with posting @@ -44,7 +45,8 @@ comment_was_posted ================== .. data:: django.contrib.comments.signals.comment_was_posted - + :module: + Sent just after the comment is saved. Arguments sent with this signal: @@ -63,6 +65,9 @@ Arguments sent with this signal: comment_was_flagged =================== +.. data:: django.contrib.comments.signals.comment_was_flagged + :module: + Sent after a comment was "flagged" in some way. Check the flag to see if this was a user requesting removal of a comment, a moderator approving/removing a comment, or some other custom user flag. |
