django-helpdesk includes a copy of akismet.py
by Michael Foord, which lets incoming ticket submissions be automatically checked against either the Akismet or TypePad Anti-Spam services.
To enable this functionality, sign up for an API key with one of these two services.
Akismet
- Sign up at http://akismet.com/
- Save your API key in
settings.py
asAKISMET_API_KEY
Note: Akismet is only free for personal use. Paid commercial accounts are available.
- Sign up at http://antispam.typepad.com/
- Save your API key in
settings.py
asTYPEPAD_ANTISPAM_API_KEY
This service is free to use, within their terms and conditions.
If you have either of these settings enabled, the spam filtering will be done automatically. If you have both settings configured, TypePad will be used instead of Akismet.
A sample configuration in settings.py
may be:
TYPEPAD_ANTISPAM_API_KEY = 'abc123'