mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed some Sphinx markup in signals docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6f29ad31b5
commit
c5cc26ff99
2 changed files with 30 additions and 11 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue