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 SpamFightModerator class EntryModerator(SpamFightModerator): # 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.1dev.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24b54fbe0ac638cdf0f83d1c5d0a237d81104b9585b88adebe3db75af5d4552d |
|
MD5 | 834805c1bca304f3eabc5e466e7d83dd |
|
BLAKE2b-256 | 2f7440a1f1dba0121e4638b8a1dd00d0ed41fe39d029652018e3d661e334a659 |