diff options
| author | Tim Graham <timograham@gmail.com> | 2012-11-16 15:19:33 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-11-16 15:19:33 -0800 |
| commit | b4a98e028adb5b32dcfa7384e46f57b28b43b684 (patch) | |
| tree | c1a35c4383c50ea0e68d05b7bd5a3a09a3421e11 /docs | |
| parent | ff0d3126afbc30ae1aab3a9d352300e59937fe5e (diff) | |
| parent | d8ee46afff913975404887cdd2eec635a03013f8 (diff) | |
Merge pull request #521 from emidln/master
Fixed docs noting comment_will_be_sent signals return 400 status code
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/comments/signals.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/comments/signals.txt b/docs/ref/contrib/comments/signals.txt index 9d7c435927..8274539ed7 100644 --- a/docs/ref/contrib/comments/signals.txt +++ b/docs/ref/contrib/comments/signals.txt @@ -20,8 +20,8 @@ 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 details or other such actions. -If any receiver returns ``False`` the comment will be discarded and a 403 (not -allowed) response will be returned. +If any receiver returns ``False`` the comment will be discarded and a 400 +response will be returned. This signal is sent at more or less the same time (just before, actually) as the ``Comment`` object's :data:`~django.db.models.signals.pre_save` signal. |
