Skip to main content

Django antispam module

Project description

Django antispam module with an invisible fake comment/contact form and Akismet verification.

See <https://github.com/leandroarndt/djangospam> for up to date help.

Fake form use

Include djangospam in your installed modules (at settings.py) and insert the following code in your template (todo):

{% load djangospam %}

...

{% djangospam 'optional destination uri' }

or (working):

{% include 'djangospam/form.html' %}

In this last case, you may also define a spam_uri context variable with the fake formulary destination URI. If no URI is defined, the form will be posted at the same address of the page being attacked (It will be used a <form method=”post” action=””>…</form> code).

Akismet

TODO

Results

The fake form alone is getting 100% efficiency at <http://www.correioprogressista.com.br/>, which used to have more than 200 spam comments each day. Even so, I recommend using Akismet or another spam analysis tool.

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

djangospam-0.1.6.tar.gz (2.6 kB view hashes)

Uploaded Source

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