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.
Metadata
Release files for django-comments-moderation 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-comments-moderation-1.0.tar.gz | 17.6 kB | Without provenance | Details |
Release files / django-comments-moderation-1.0.tar.gz
| Download URL | django-comments-moderation-1.0.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
560dd3c15b5e468afb251352c1f2fcada2c31758ac8cef24fda8daf3f6ea8887
|
|
BLAKE2b-256 checksum How to use checksums |
b7175cc1ebaf05293b05cf4b9d2106b4fe0074f3329a08d548d0035696892533
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|
Security for django-comments-moderation 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.