cmsplugin-disqus 1.0

Disqus plugin for django CMS

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

LICENSE.txt

Author

Djeese Factory GmbH

Pip

cmsplugin-disqus==1.0

Classifiers

  • Development Status :: 5 - Production/Stable
  • Environment :: Web Environment
  • Framework :: Django
  • Intended Audience :: Developers
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 2.6
  • Programming Language :: Python :: 2.7
  • License :: OSI Approved :: BSD License
  • Topic :: Internet :: WWW/HTTP :: Dynamic Content
  • Topic :: Communications
  • Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards
File Type Python Version Uploaded On Downloads
cmsplugin-disqus-1.0.tar.gz Source Nov. 16, 2011 3,292
Version Release Date
1.0 Nov. 16, 2011
Date Package Version Action
Aug. 24, 2015, 10:47 p.m. cmsplugin-disqus 1.0 Release Created
Aug. 24, 2015, 10:47 p.m. cmsplugin-disqus Package Created