Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
  • Loading branch information...
commit ac72c8d1d34e3c5f12236a669291d0cbe23a146a 1 parent 7e1c670
Jacob Kaplan-Moss authored March 01, 2010

Showing 1 changed file with 5 additions and 6 deletions. Show diff stats Hide diff stats

  1. 11  django/contrib/comments/moderation.py
11  django/contrib/comments/moderation.py
@@ -250,12 +250,11 @@ class Moderator(object):
250 250
     models registered for comment moderation, and their associated
251 251
     moderation classes, and apply moderation to all incoming comments.
252 252
 
253  
-    To register a model, obtain an instance of ``CommentModerator``
254  
-    (this module exports one as ``moderator``), and call its
255  
-    ``register`` method, passing the model class and a moderation
256  
-    class (which should be a subclass of ``CommentModerator``). Note
257  
-    that both of these should be the actual classes, not instances of
258  
-    the classes.
  253
+    To register a model, obtain an instance of ``Moderator`` (this
  254
+    module exports one as ``moderator``), and call its ``register``
  255
+    method, passing the model class and a moderation class (which
  256
+    should be a subclass of ``CommentModerator``). Note that both of
  257
+    these should be the actual classes, not instances of the classes.
259 258
 
260 259
     To cease moderation for a model, call the ``unregister`` method,
261 260
     passing the model class.

0 notes on commit ac72c8d

Please sign in to comment.
Something went wrong with that request. Please try again.