mixkorshun / django-antispam

Spam protection tools for django applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-antispam

build status codecov pypi pep8 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 api-key>'

AKISMET_SITE_URL = '<base 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.

About

Spam protection tools for django applications.

License:MIT License


Languages

Language:Python 100.0%