Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Moderation plugin for django-fluent-comments

Project Description

django-comments-moderation

This is addition to django-fluent-comments.

This module registers all emails from comments and allows to set moderation rules for them (blacklist/whitelist).

installation

pip install django-comments-moderation

OR

pip install -e git+https://github.com/PetrDlouhy/django-comments-moderation.git#egg=django-comments-moderation

Add comments_moderation to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'comments_moderation',
    ...
)

Register comments moderator - add following lines to admin.py:

from comments_moderation import filtered_moderator
filtered_moderator.register(CommentedObject)

You can select moderation mode for new users from two modes - 'approve' and 'moderate'. If you want to moderate all comments from new users, set:

COMMENTS_MODERATION_MODE = 'moderate'

Migrate your models:

./manage.py migrate comments_moderation

Now you should see new application comments_moderation with model Email filters in your admin interface.

Release History

Release History

This version
History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-comments-moderation-0.1.tar.gz (17.2 kB) Copy SHA256 Checksum SHA256 Source Mar 19, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting