Author: jacob Date: 2010-03-01 14:18:52 -0600 (Mon, 01 Mar 2010) New Revision: 12639
Modified: django/trunk/django/contrib/comments/moderation.py Log: Fixed #10878, an error in the `Moderator` docstring. Thanks, Travis Cline. Modified: django/trunk/django/contrib/comments/moderation.py =================================================================== --- django/trunk/django/contrib/comments/moderation.py 2010-03-01 20:14:18 UTC (rev 12638) +++ django/trunk/django/contrib/comments/moderation.py 2010-03-01 20:18:52 UTC (rev 12639) @@ -250,12 +250,11 @@ 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. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.