Skip to main content

django-spaminspector is a generic spam inspector of Django via Akismet

Project description

Django’s genetic spam inspector library via Akismet


sudo pip install django-spaminspector


sudo pip install git+git://

How to Use

  1. First, you need to specified SPAMINSPECTOR_AKISMET_KEY on

  2. Add spaminspector to INSTALLED_APPS on

  3. Add spaminspector.middleware.SpamInspectionMiddleware to MIDDLEWARE_CLASSES on

  4. Add view which you want to inspect to SPAMINSPECTOR_VIEWS The code below is a profile for django’s comment framework:

        ('django.contrib.comments.views.comments.post_comment', {
            'comment_type': 'comment',
            'comment_author': lambda request: request.POST.get('name', ""),
            'comment_author_email': lambda request: request.POST.get('email', ""),
            'comment_author_url': lambda request: request.POST.get('url', ""),
            'comment_contents': lambda request: request.POST.get('comment', ""),


the list of view and inspection_profile. default settings is for django comment framework.
the api key of Akismet of your url.
an template uri. this template is used to show when comment is detected as spam. (optional)

Project details

Release history Release notifications

This version
History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_spaminspector-0.1rc4-py2.7.egg (6.9 kB) Copy SHA256 hash SHA256 Egg 2.7 Jul 22, 2011
django-spaminspector-0.1rc4.tar.gz (7.6 kB) Copy SHA256 hash SHA256 Source None Jul 22, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page