Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cmsplugin-disqus

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmsplugin-disqus

Disqus plugin for django CMS

  • 1.0
  • PyPI
  • Socket score

Maintainers
1

################# 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/.

.. _django CMS: https://www.django-cms.org .. _Disqus: http://disqus.com .. _virtualenv: http://www.virtualenv.org

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc