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.
Install
djangocms-disqus
:pip install djangocms-disqus
Add
djangocms_disqus
toINSTALLED_APPS
:INSTALLED_APPS = ( ... 'connected_accounts', 'connected_accounts.providers', 'djangocms_disqus', ... )
To enable
Disqus
as a provider fordjango-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
toMIDDLEWARE_CLASSES
:MIDDLEWARE_CLASSES = ( ... 'djangocms_disqus.middleware.DisqusMiddleware', ... )
- djangocms-forms — https://github.com/mishbahr/djangocms-forms
- djangocms-fbcomments - https://github.com/mishbahr/djangocms-fbcomments
- djangocms-gmaps — https://github.com/mishbahr/djangocms-gmaps
- djangocms-instagram — https://github.com/mishbahr/djangocms-instagram
- djangocms-responsive-wrapper — https://github.com/mishbahr/djangocms-responsive-wrapper
- djangocms-twitter2 — https://github.com/mishbahr/djangocms-twitter2
- djangocms-youtube — https://github.com/mishbahr/djangocms-youtube