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
File details
Details for the file django-comments-spamfighter-0.2dev.tar.gz
.
File metadata
- Download URL: django-comments-spamfighter-0.2dev.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 054e9eeba58ee6cd119e4c717a5cbbb6be0a20dfc6f2387cc16287c8b72945c2 |
|
MD5 | 74065561dc9ed651ea93709f85bee279 |
|
BLAKE2b-256 | 82189198784902c3117786bce23227801cd96ae6d9fefbd826a0a657e3ea3395 |