Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Simple integration of the IntenseDebate comment widget for Django projects.

Project description

A simple integration of the IntenseDebate comment widget for Django projects.


  • Python 2.5+
  • Django 1.4+


  1. Install the latest stable version using pip:

    pip install django-intensedebate
  2. Add intensedebate to your INSTALLED_APPS setting:



The intensedebate_config template tag requires a site account number. Either pass it as intensedebate_acct, or set INTENSEDEBATE_ACCT in your settings:

INTENSEDEBATE_ACCT = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

The site account number can be found by visiting the Site Key page (IntenseDebate site acct:).

Basic Usage

  1. Load the tag library:

    {% load intensedebate %}
  2. Create a container (see container_id) in your html body to display the widget:

    <div id="intensedebate"></div>
  3. Load the widget:

    {% intensedebate_load %}

    You can pass these options as arguments:

    Option Default Description
    intensedebate_acct   Site account number (see configuration above).
    post_id * window.location.href; Unique identifier of the post. This is what keeps the comments set on this post different than comments set on another post. The default value is the URL of the page.
    post_id_prefix   post_id prefix.
    post_id_suffix   post_id suffix.
    post_url window.location.href; URL of the post. This is the URL IntenseDebate will link to in RSS feeds and on
    post_title document.title; Title of the post. This is the title that will be displayed in RSS feeds and on
    container_id   The container to display the widget. Warning: If not defined, IntenseDebate will create a container id="idc-container-parent" above the intensedebate_load template tag.
    • post_id ensures the correct comments are associated with the correct post. It should be unique, e.g (to avoid conflict with other id’s, use post_id_prefix and post_id_suffix).


{% load intensedebate %}



  <meta charset="utf-8">
  <title>django-intensedebate Example</title>

  <p>Well, the way they make shows is, they make one show. That show's
  called a pilot. Then they show that show to the people who make shows,
  and on the strength of that one show they decide if they're going to
  make more shows. Some pilots get picked and become television programs.
  Some don't, become nothing. She starred in one of the ones that became

  <div id="intensedebate"></div>

  <!-- Placed at the end of the document so the page loads faster -->
  {% intensedebate_load post_id_prefix='pid_' container_id='intensedebate' %}


Project details

Download files

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

Files for django-intensedebate, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size django-intensedebate-1.0.0.tar.gz (17.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page