Skip to main content

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

Project description

http://img.shields.io/travis/mishbahr/djangocms-disqus.svg?style=flat-square Latest Version Downloads License http://img.shields.io/coveralls/mishbahr/djangocms-disqus.svg?style=flat-square

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

  1. Install djangocms-disqus:

    pip install djangocms-disqus
  2. Add djangocms_disqus to INSTALLED_APPS:

    INSTALLED_APPS = (
        ...
        'connected_accounts',
        'connected_accounts.providers',
        'djangocms_disqus',
        ...
    )
  3. 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>'
  4. Sync database (requires south>=1.0.1 if you are using Django 1.6.x):

    python manage.py migrate
  5. Add the DisqusMiddleware to MIDDLEWARE_CLASSES:

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

Preview

http://mishbahr.github.io/assets/djangocms-disqus/thumbnail/djangocms-disqus-001.png http://mishbahr.github.io/assets/djangocms-disqus/thumbnail/djangocms-disqus-002.png

You may also like…

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangocms-disqus-0.1.4.tar.gz (21.2 kB view details)

Uploaded Source

File details

Details for the file djangocms-disqus-0.1.4.tar.gz.

File metadata

File hashes

Hashes for djangocms-disqus-0.1.4.tar.gz
Algorithm Hash digest
SHA256 0471a324700726e8027d62a6339193ca5431ddc5d9897ee25afaf4c00df23b00
MD5 95dfe3db9af7dfa05cfd353f729a7326
BLAKE2b-256 9c1d62bc820d94b875a7578f5fc420db2b74f5b50e766faf36a9752a7dae6ea6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page