CMS Plugin Disqus
django CMS plugin for Disqus.
Installation
This plugin requires django CMS 2.2 or higher to be properly installed and configured. It also requires you to have a Disqus account.
In your projects virtualenv, run pip install cmsplugin-disqus.
Add 'cmsplugin_disqus' to your INSTALLED_APPS setting.
Set the DISQUS_SHORTNAME setting to your sites shortname. See the Disqus documentation for more details.
Run manage.py migrate cmsplugin_disqus.
Templates
CMS Plugin Disqus has a single template, located at cmsplugin_disqus/disqus_plugin.html. The template is rendered with the following context variables:
DISQUS_SHORTNAME: The value of the DISQUS_SHORTNAME setting, used by Disqus to identify your site.
instance: The plugin instance used to render the template.
developermode: The value of the DEBUG setting, can be used to turn on the Disqus developer mode for testing.
The context is inherited from the main context used to render the page, therefore you also get all context variables from your template context processors. Most importantly you get the request object, which you can use to load the Disqus embed javascript code over HTTPS if necessary.
Translations
You can help translate this plugin at https://www.transifex.net/projects/p/cmsplugin-disqus/.
Metadata
Release files for cmsplugin-disqus 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 | Actions |
|---|---|---|---|---|
| cmsplugin-disqus-1.0.tar.gz | 7.5 kB | Without provenance | Details for cmsplugin-disqus-1.0.tar.gz |
Release files / cmsplugin-disqus-1.0.tar.gz
| Download URL | cmsplugin-disqus-1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b52e3833c2d71b9b06f1f9cf640e3dd8be2fd1bbcdb13da53641a5db2d4c74fd
|
|
BLAKE2b-256 checksum How to use checksums |
a67744c7bbf9e0061f7410e3081a3ec2026aedb5c39b7d2d724768913a0f2451
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cmsplugin-disqus 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.