mirror of https://github.com/django/django.git
Add a proper cross-reference to the mention of HttpRequest in the comment moderation docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
bcb0d124b4
commit
bed1418034
|
@ -145,7 +145,7 @@ determine how moderation will take place; each method will be called
|
||||||
by the moderation system and passed two arguments: ``comment``, which
|
by the moderation system and passed two arguments: ``comment``, which
|
||||||
is the new comment being posted, ``content_object``, which is the
|
is the new comment being posted, ``content_object``, which is the
|
||||||
object the comment will be attached to, and ``request``, which is the
|
object the comment will be attached to, and ``request``, which is the
|
||||||
``HttpRequest`` in which the comment is being submitted:
|
:class:`~django.http.HttpRequest` in which the comment is being submitted:
|
||||||
|
|
||||||
.. method:: CommentModerator.allow(comment, content_object, request)
|
.. method:: CommentModerator.allow(comment, content_object, request)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue