djangosnippets.org: Latest snippets tagged with 'anti-spams'https://djangosnippets.org/tags/anti-spams/2007-03-23T12:23:58.900663-05:00Captcha Middleware
2007-03-23T12:23:58.900663-05:00zeeghttps://djangosnippets.org/snippets/127/<p>A middleware we are using to stop "spam" on Curse. It makes the user fill in a captcha box whenever they submit a form unless a cookie is set (which expires by default after 6 hours)</p>
<p>See also <a href="http://www.djangosnippets.org/snippets/128/">the template</a></p>
<p>Note: render_template is simply a shortcut function we have for …</p>
Freely redistributable