mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[1.5.X] Fixed docs noting comment_will_be_sent returns a 400, not a 403
Backport of d8ee46afff from master
This commit is contained in:
committed by
Tim Graham
parent
b39b0aedbf
commit
cefbf09a4d
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user