A Django app that contributes Akismet and Keyword blocking to your django comments.
Project description
This app contributes a CommentModerator that doees two things:
Block or moderate new comments if they contain a given keyword. This keyword might be a regular expression or a simple string. You can add and edit these keywords using Django’s admin interface.
Block or moderate comments with Akismet.
Docs will follow soon. So long here is a sample installation. However, see Django’s comments moderator docs for a general installation:
from comments_spamfighter.moderation import SpamFighterModerator class EntryModerator(SpamFighterModerator): # Regular options by django's contributed CommentModerator auto_moderate_field = 'created' email_notification = True # ==================== # Spam fighter options # ==================== # Check with Akismet for spam akismet_check = False # If Akismet marks this message as spam, delete it instantly (True) or # add it the comment the moderation queue (False). Default is False. akismet_check_moderate = False # Do a keyword check keyword_check = True # If a keyword is found, delete it instantly (True) or add the comment to # the moderation queue (False). Default is True. keyword_check_moderate = False moderator.register(Entry, EntryModerator)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-comments-spamfighter-0.3dev.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11197d0bec3c669b4cdfc8727937719c2fce6709851bbd00a38ebef98c768ba1 |
|
MD5 | 5fa497e96858a361bba527078c2cdde7 |
|
BLAKE2b-256 | 310a695003046c0ed9f09c28a0b3ba65bf68b9e097e3f30588c648244612a9aa |