summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2010-03-01 20:19:53 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2010-03-01 20:19:53 +0000
commitac72c8d1d34e3c5f12236a669291d0cbe23a146a (patch)
tree9b4c083e687fdc961965a6d3908bf4cc536ebcbd
parent7e1c67040c779765f1beb6e9be4caab26a6efd96 (diff)
[1.1.X] Fixed #10878, an error in the `Moderator` docstring.
Thanks, Travis Cline. Backport of [12639] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/comments/moderation.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/django/contrib/comments/moderation.py b/django/contrib/comments/moderation.py
index e8cd08f589..fd6f318a7c 100644
--- a/django/contrib/comments/moderation.py
+++ b/django/contrib/comments/moderation.py
@@ -250,12 +250,11 @@ class Moderator(object):
models registered for comment moderation, and their associated
moderation classes, and apply moderation to all incoming comments.
- To register a model, obtain an instance of ``CommentModerator``
- (this module exports one as ``moderator``), and call its
- ``register`` method, passing the model class and a moderation
- class (which should be a subclass of ``CommentModerator``). Note
- that both of these should be the actual classes, not instances of
- the classes.
+ To register a model, obtain an instance of ``Moderator`` (this
+ module exports one as ``moderator``), and call its ``register``
+ method, passing the model class and a moderation class (which
+ should be a subclass of ``CommentModerator``). Note that both of
+ these should be the actual classes, not instances of the classes.
To cease moderation for a model, call the ``unregister`` method,
passing the model class.