djangosnippets.org: Latest snippets tagged with 'moderation'https://djangosnippets.org/tags/moderation/2010-08-11T04:37:51.223529-05:00comments_allowed function for your model/...
2010-08-11T04:37:51.223529-05:00mathijshttps://djangosnippets.org/snippets/2144/<p>Use this if you want to check if commenting is allowed for a certain object/model/... in a template. Like this;
</p>
<p><code>{% if not object.comments_allowed %}
<p>Comments are now closed.</p>
{% else %}
{% render_comment_form for object %}
{% endif %}</code>
</p>
<p>You can replace the CommentModerator class with your own custom …</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 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 redistributable