🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

djangocms-disqus

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

djangocms-disqus

Disqus intergration for your django-cms powered site with options for Single Sign-On (SSO), lazy loading, analytics and more.

0.1.4
Maintainers
1

============================= djangocms-disqus

.. image:: http://img.shields.io/travis/mishbahr/djangocms-disqus.svg?style=flat-square :target: https://travis-ci.org/mishbahr/djangocms-disqus/

.. image:: http://img.shields.io/pypi/v/djangocms-disqus.svg?style=flat-square :target: https://pypi.python.org/pypi/djangocms-disqus/ :alt: Latest Version

.. image:: http://img.shields.io/pypi/dm/djangocms-disqus.svg?style=flat-square :target: https://pypi.python.org/pypi/djangocms-disqus/ :alt: Downloads

.. image:: http://img.shields.io/pypi/l/djangocms-disqus.svg?style=flat-square :target: https://pypi.python.org/pypi/djangocms-disqus/ :alt: License

.. image:: http://img.shields.io/coveralls/mishbahr/djangocms-disqus.svg?style=flat-square :target: https://coveralls.io/r/mishbahr/djangocms-disqus?branch=master

Disqus intergration for your django-cms powered site with options for Single Sign-On (SSO), lazy loading, analytics and more.

This project requires django-connected <https://github.com/mishbahr/django-connected>_ and django-cms v3.0 or higher to be properly installed and configured. When installing the djangocms-disqus using pip, django-connected will also be installed automatically.

Quickstart

  • Install djangocms-disqus::

    pip install djangocms-disqus

  • Add djangocms_disqus to INSTALLED_APPS::

    INSTALLED_APPS = ( ... 'connected_accounts', 'connected_accounts.providers', 'djangocms_disqus', ... )

  • To enable Disqus as a provider for django-connected (register new applications at https://disqus.com/api/applications/register/)::

    CONNECTED_ACCOUNTS_DISQUS_CONSUMER_KEY = '<disqus_secret_key>' CONNECTED_ACCOUNTS_DISQUS_CONSUMER_SECRET = '<disqus_public_key>'

  • Sync database (requires south>=1.0.1 if you are using Django 1.6.x)::

    python manage.py migrate

  • Add the DisqusMiddleware to MIDDLEWARE_CLASSES::

    MIDDLEWARE_CLASSES = ( ... 'djangocms_disqus.middleware.DisqusMiddleware', ... )

Preview

.. image:: http://mishbahr.github.io/assets/djangocms-disqus/thumbnail/djangocms-disqus-001.png :target: http://mishbahr.github.io/assets/djangocms-disqus/djangocms-disqus-001.png :width: 768px :align: center

.. image:: http://mishbahr.github.io/assets/djangocms-disqus/thumbnail/djangocms-disqus-002.png :target: http://mishbahr.github.io/assets/djangocms-disqus/djangocms-disqus-002.png :width: 768px :align: center

You may also like...

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