Skip to main content

Anti-spam protection tools for django applications.

Project description

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.

Project details


Download files

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

Source Distribution

django-antispam-1.0.3.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

django_antispam-1.0.3-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file django-antispam-1.0.3.tar.gz.

File metadata

  • Download URL: django-antispam-1.0.3.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for django-antispam-1.0.3.tar.gz
Algorithm Hash digest
SHA256 0228af06e33984ec65c16cbb20ccaa57dfaa114ca8a4a238ef7ee8d03cd2ebad
MD5 1015a2d8d1fbf63ff681af51c1537698
BLAKE2b-256 9d08ea60cc50271ea8cb3dc5e7119f9d55575b7f40df9a72fb278ba337caeb87

See more details on using hashes here.

File details

Details for the file django_antispam-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: django_antispam-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for django_antispam-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b9b76f7dba8d934807559fa464b46b49d559b48781d7918e7c785f5067dbcaaa
MD5 72ac3ac3c0fa186128581cda65898fff
BLAKE2b-256 6024ccc3417a362fa273033189f8c5ef2ddb1f4c88c7affb37aa25b799339830

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page