Tag: django / Back
Preventing spam in comments/contact forms with TypePad AntiSpam
2010-01-10 22:16:05
Another few hours of my life lost due to spammers. (And a few Mac OS quirks i don't want to get into now : ) ). Anyway.. If you have any kind of form on your website you are guaranteed that you will receive spam in one form or another. To make it the least annoying for your real customers and users I think it's the best way to employ some kind of passive spam checking.
I previously only heard of Akismet which is only free for non-commercial users. But since i don't want to get into trouble I made a quick google search and found TypePad AntiSpam - The nice thing about it? It is completely free (at least right now) - but provides the same API as akismet.
So I simply downloaded the Python Akismet library and created a very simple utility function and base form in django to do the checking. So only when spam is recognized the user will have to fill out the captcha.
The whole magic lies in simply changing the baseurl:
You can also take a look at my full code for the form, which uses the Captcha Field from SCT.
I previously only heard of Akismet which is only free for non-commercial users. But since i don't want to get into trouble I made a quick google search and found TypePad AntiSpam - The nice thing about it? It is completely free (at least right now) - but provides the same API as akismet.
So I simply downloaded the Python Akismet library and created a very simple utility function and base form in django to do the checking. So only when spam is recognized the user will have to fill out the captcha.
The whole magic lies in simply changing the baseurl:
from akismet import Akismet # base url for TypePad AntiSpam would be: # api.antispam.typepad.com/1.1/ Akismet.baseurl = settings.AKISMET_BASEURL
You can also take a look at my full code for the form, which uses the Captcha Field from SCT.
Hey, we have Signatures !!! Great, isn't it ? ;)
Posted by Herbert Poul
0 CommentsLaunched thedjangoforum.com - Another forum based on Sphene Community Tools
2009-02-05 10:23:04
I just helped to launch another forum based on SCT: The Django Forum. As last time with http://django-resource.de we were able to automatically migrate all forum categories, users and posts without any hitches.
Hey, we have Signatures !!! Great, isn't it ? ;)
Posted by Herbert Poul
0 CommentsOne year of SCT !
2008-02-23 20:50:44
I just realized that Sphene Community Tools (My currently most active private project implementing a django forum and wiki application) is already one year in development. This finally removes the "Short source control history" - warning on it's Ohloh project page.
Hey, we have Signatures !!! Great, isn't it ? ;)
Posted by Herbert Poul
0 CommentsSimple CRUD application in django
2008-02-10 20:25:34
I've just finished my simple CRUD application in django for my WebappFrameworkComparison - This makes it four frameworks in which i've implemented the simple BarCrud application.
Hey, we have Signatures !!! Great, isn't it ? ;)
Posted by Herbert Poul
0 CommentsPage 1
Archive
- December, 2009 1 posts.
- December, 2008 2 posts.
- November, 2009 1 posts.
- November, 2008 1 posts.
- October, 2010 1 posts.
- September, 2008 2 posts.
- August, 2018 2 posts.
- August, 2008 2 posts.
- July, 2018 1 posts.
- July, 2011 2 posts.
- July, 2010 1 posts.
- July, 2009 1 posts.
- July, 2008 1 posts.
- June, 2010 1 posts.
- June, 2009 1 posts.
- May, 2011 1 posts.
- May, 2009 1 posts.
- April, 2011 1 posts.
- April, 2008 1 posts.
- March, 2010 1 posts.
- March, 2009 1 posts.
- February, 2013 1 posts.
- February, 2010 1 posts.
- February, 2009 5 posts.
- February, 2008 3 posts.
- January, 2011 1 posts.
- January, 2010 1 posts.
- January, 2009 4 posts.
- January, 2008 2 posts.