Get the moderation app:
pip -E $VIRTUAL_ENV install -e git://github.com/sixapart/typepadapp-moderation.git#egg=typepadapp_moderation
Add the following to your urls.py:
(r’^moderation’, include(‘moderation.urls’)),
And include the following in your local_settings.py module:
USE_MODERATION = True
- if USE_MODERATION:
from settings import INSTALLED_APPS, TEMPLATE_CONTEXT_PROCESSORS
## This is a location relative to MEDIA_ROOT and MEDIA_URL ## Make sure your web server has rights to create files there. UPLOAD_PATH = ‘uploads’
INSTALLED_APPS = (‘moderation’,) + INSTALLED_APPS
TEMPLATE_CONTEXT_PROCESSORS += (‘moderation.context_processors.globals’, )
## Customize this setting if you wish to alter the options shown ## when flagging a published post or comment: # REPORT_OPTIONS = [ # [“Option label”], # [“Admin: Suppress this post immediately”, 1] # ]
## Assign a Typepad Antispam API key here to make use of antispam ## filtering. # TYPEPAD_ANTISPAM_API_KEY = ‘antispam-api-key’
## For selective moderation; enabling this feature will default ## moderation so that it is only done for specific users. # MODERATE_BY_USER = True
## For selective moderation; enabling this feature will default ## moderation so that it is only done for these specific post types. ## Types are: post, photo, link, audio, video, comment # MODERATE_TYPES = (‘photo’,)
Metadata
Release files for typepadapp-moderation 1.0.3
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 | Actions |
|---|---|---|---|---|
| typepadapp-moderation-1.0.3.tar.gz | 30.3 kB | Without provenance | Details for typepadapp-moderation-1.0.3.tar.gz |
Release files / typepadapp-moderation-1.0.3.tar.gz
| Download URL | typepadapp-moderation-1.0.3.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a14dfa52a5830669fae21e7ff1738b9b9672091a9ffda5b7c881679b4c3c1d26
|
|
BLAKE2b-256 checksum How to use checksums |
98a285b1ef6bb8dbbe6c1fe1387bebd9bcd7b96986075a00956396f3a6217c3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for typepadapp-moderation 1.0.3
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.