djangosnippets.org: Latest snippets tagged with 'akismet'https://djangosnippets.org/tags/akismet/2012-10-20T17:49:27.612326-05:00Clean spam from comments by running management command and akismet
2012-10-20T17:49:27.612326-05:00iElectrichttps://djangosnippets.org/snippets/2835/<p>..</p>
Freely redistributablePrevent Django newcomments spam with Akismet (reloaded)
2009-07-17T02:20:04.313759-05:00sciyoshihttps://djangosnippets.org/snippets/1638/<p>This is a rewrite of <a href="http://www.djangosnippets.org/snippets/1006/">snippet #1006</a> to use the moderation features available in Django's comments framework. This is more customizable than the signals approach and works well if other moderation features are being used. If you want to make comments that are flagged as spam become hidden instead of …</p>
Freely redistributableUnobtrusive comment moderation, updated for Django 1.0
2009-01-21T09:19:48.081282-06:00shimonrurahttps://djangosnippets.org/snippets/1294/<p>This is the "unobtrusive comments moderation" code from http://www.djangosnippets.org/snippets/112/ , but updated so it works properly with Django 1.0.</p>
<p>There are only a few small changes reflecting changes in the comments, contenttypes, and signals APIs.</p>
<p>For full background, see the original snippet:
http://www.djangosnippets.org/snippets/112/</p>
Freely redistributableDjango Akismet
2008-12-19T13:16:22.654997-06:00yeagohttps://djangosnippets.org/snippets/1255/<p>http://sciyoshi.com/blog/2008/aug/27/using-akismet-djangos-new-comments-framework/</p>
Freely redistributableUsing Akismet/TypePad AntiSpam with Django's new comments framework
2008-08-27T18:27:54.252749-05:00sciyoshihttps://djangosnippets.org/snippets/1006/<p>See the description in the blog entry at <a href="http://sciyoshi.com/blog/2008/aug/27/using-akismet-djangos-new-comments-framework/">http://sciyoshi.com/blog/2008/aug/27/using-akismet-djangos-new-comments-framework/</a>
</p>
Freely redistributableLinkSleeve comment moderation
2008-04-06T13:49:27.000845-05:00zgodahttps://djangosnippets.org/snippets/687/<p>This is an extension to ubernostrum's <a href="http://code.google.com/p/django-comment-utils/">comment-utils</a> that performs comment moderation based on LinkSleeve check result. It requires original comment-utils package.</p>
Freely redistributableUnobtrusive comment moderation
2007-03-17T00:36:49.093099-05:00ubernostrumhttps://djangosnippets.org/snippets/112/<p><strong>Before using this snippet</strong>, please note that it's largely been superseded by <a href="http://code.google.com/p/django-comment-utils/">comment_utils</a>, which includes a more featureful and extensible version of this system, particularly with respect to additional moderation options and useful things like email notifications of comments.</p>
<p>Once upon a time I hacked the copy of …</p>
Freely redistributableAkismet Webservice
2007-03-14T17:17:19.955700-05:00sneeuhttps://djangosnippets.org/snippets/107/<p>A short little bit of code to test for comment spam against Akimet.</p>
<p>Use:
a = Akismet('<AkismetKey>', 'http://sneeu.com/blog/')
a.verify_key()
print a.comment_check(
comment_author='...',
comment_author_email='sneeu@example.com',
user_ip='10.0.0.1',
comment_content="""Comment content!"""
)</p>
Freely redistributable