Skip to main content

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.

Project details


Download files

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

Source Distribution

django-comments-moderation-1.0.tar.gz (17.6 kB view details)

Uploaded Source

File details

Details for the file django-comments-moderation-1.0.tar.gz.

File metadata

File hashes

Hashes for django-comments-moderation-1.0.tar.gz
Algorithm Hash digest
SHA256 560dd3c15b5e468afb251352c1f2fcada2c31758ac8cef24fda8daf3f6ea8887
MD5 de1b9e94d36a1f2995fd5cd8c69fb811
BLAKE2b-256 b7175cc1ebaf05293b05cf4b9d2106b4fe0074f3329a08d548d0035696892533

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page