django-fluent / django-fluent-comments

A modern, ajax-based appearance for django comments
https://django-fluent.org/
Apache License 2.0
182 stars 90 forks source link

Question/Idea: Does flluent_comment allow a filtering of the uncersored words in the comments? #83

Closed popovvasile closed 7 years ago

popovvasile commented 8 years ago

How can I implement filtering the comments after identifying an uncensored word?

vdboor commented 8 years ago

You can look into the CommentModerator class. We've implemented an example using the FluentCommentsModerator class.. django-contrib-comments provides a framework to add moderation.

Also see: https://django-contrib-comments.readthedocs.io/en/latest/moderation.html

vdboor commented 7 years ago

I've added a FLUENT_COMMENTS_MODERATE_BAD_WORDS setting to the 1.4 release! You can use that now instead of having to reimplement a moderator.