Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install django-comments-spamfighter

How to install django-comments-spamfighter

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install django-comments-spamfighter
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.4 Available View build log
Windows (64-bit)
0.4 Available View build log
Mac OS X (10.5+)
0.4 Available View build log
Linux (32-bit)
0.4 Available View build log
Linux (64-bit)
0.4 Available View build log
 
Author
License
BSD
Lastest release
version 0.4 on Jan 5th, 2011

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

System Message: WARNING/2 (<string>, line 8)

Bullet list ends without a blank line; unexpected unindent.

them directly or add them to the moderation queue.

  • Check incoming comments against pre-defined keywords and either block them

System Message: WARNING/2 (<string>, line 11)

Bullet list ends without a blank line; unexpected unindent.

directly or add these them to the moderation queue. These keywords can be simple strings or powerful regular expressions.

The documentation is online:

System Message: WARNING/2 (<string>, line 16)

Literal block expected; none found.

http://docs.mahner.org/django-comments-spamfighter/

Quick installation

Here is a quick installation guide for users who are familiar with comment moderation:

System Message: WARNING/2 (<string>, line 25)

Literal block expected; none found.

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)

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:3

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.