A Django app that contributes Akismet and Keyword blocking to your django comments.
Project description
This Django application contributes a moderation class to Django’s comment app that provides:
Check incoming comments against the Akismet spam database and either block them directly or add them to the moderation queue.
Check incoming comments against pre-defined keywords and either block them directly or add these them to the moderation queue. These keywords can be simple strings or powerful regular expressions.
The documentation is online:
http://docs.mahner.org/django-comments-spamfighter/
Quick installation
Here is a quick installation guide for users who are familiar with comment moderation:
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 (False) or # add it the comment the moderation queue (True). Default is True. akismet_check_moderate = True # Do a keyword check keyword_check = True # If a keyword is found, delete it instantly (False) or add the comment to # the moderation queue (True). Default is False. 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.4dev.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a0ed211d1be6d825d39c4f6dc04a7ceaf657ee628447aa9af4829fcf009dd4e |
|
MD5 | 65f8fceae63d0c9763278157897d14ea |
|
BLAKE2b-256 | b557529abb10ee8909f3206291f064e376a82255a8957ba8fe4edd990edada85 |