comment_will_be_sent signals sends 400 status code #521

Merged
merged 1 commit into from Nov 16, 2012

Conversation

Projects
None yet
2 participants
@emidln
Contributor

emidln commented Nov 16, 2012

Doc cleanup for django.contrib.comments.signals.comment_will_be_sent
If a receiver returns False, an HttpResponse with status code 400
is returned. A test case already exists confirming this behavior.
Updated docs to reflect reality.

comment_will_be_sent can cause a 400, not a 403
Doc cleanup for django.contrib.comments.signals.comment_will_be_sent
If a receiver returns False, an HttpResponse with status code 400
is returned. A test case already exists confirming this behavior.
Updated docs to reflect reality.

timgraham added a commit that referenced this pull request Nov 16, 2012

Merge pull request #521 from emidln/master
Fixed docs noting comment_will_be_sent signals return 400 status code

@timgraham timgraham merged commit b4a98e0 into django:master Nov 16, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment