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.
- Host: GitHub
- URL: https://github.com/mixkorshun/django-antispam
- Owner: mixkorshun
- License: mit
- Created: 2017-06-09T09:44:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-07-23T19:34:08.000Z (10 months ago)
- Last Synced: 2025-03-18T21:47:07.535Z (2 months ago)
- Topics: akismet, antispam, django, honeypot
- Language: Python
- Homepage:
- Size: 74.2 KB
- Stars: 51
- Watchers: 3
- Forks: 8
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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/MITVarious 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/