-class BlogEntryCommentModerator(CommentModerator):
- email_notification = True
-
- def moderate(self, comment, content_object, request):
- if request.user.is_authenticated():
- return False
- else:
- return True
-
-moderator.register(BlogEntry, BlogEntryCommentModerator)
-