An open API service indexing awesome lists of open source software.

https://github.com/mixkorshun/django-antispam

Spam protection tools for django applications.
https://github.com/mixkorshun/django-antispam

akismet antispam django honeypot

Last synced: 2 months ago
JSON representation

Spam protection tools for django applications.

Awesome Lists containing this project

README

        

django-antispam
===============

.. image:: https://travis-ci.org/mixkorshun/django-antispam.svg?branch=master
:alt: build status
:target: https://travis-ci.org/mixkorshun/django-antispam
.. image:: https://codecov.io/gh/mixkorshun/django-antispam/branch/master/graph/badge.svg
:alt: codecov
:target: https://codecov.io/gh/mixkorshun/django-antispam
.. image:: https://badge.fury.io/py/django-antispam.svg
:alt: pypi
:target: https://pypi.python.org/pypi/django-antispam
.. image:: https://img.shields.io/badge/code%20style-pep8-orange.svg
:alt: pep8
:target: https://www.python.org/dev/peps/pep-0008/
.. image:: https://img.shields.io/badge/License-MIT-yellow.svg
:alt: MIT
:target: https://opensource.org/licenses/MIT

Various anti-spam protection tools for django applications.

See the documentation_ for more details.

Installation
------------

The package can be installed using::

pip install django-antispam

Add the following settings::

INSTALLED_APPS += (
'antispam',

# 'antispam.akismet',
# 'antispam.honeypot',
# 'antispam.captcha',
)

# Akismet protection configuration (optional)

AKISMET_API_KEY = ''

AKISMET_SITE_URL = ''

AKISMET_TEST_MODE = False

# reCAPTCHA default configuration (optional)

RECAPTCHA_SITEKEY = 'sitekey'

RECAPTCHA_SECRETKEY = 'secretkey'

RECAPTCHA_WIDGET = 'antispam.captcha.widgets.ReCAPTCHA'

RECAPTCHA_TIMEOUT = 5

RECAPTCHA_PASS_ON_ERROR = False

Contributing
------------

If you have any valuable contribution, suggestion or idea,
please let us know as well because we will look into it.

Pull requests are welcome too.

.. _documentation: https://django-antispam.readthedocs.io/