tags:

views:

34

answers:

1

I've built a blog type app. in django. And I'm trying to integrate DISQUS for comments using montylounge's django-disqus. But comments from all the blog posts are showing up on every blog page. What could be the problem ?

+1  A: 

I'm not sure how the django module integrates, but from a Disqus point of view it sounds like you're not setting a unique value for the "disqus_identifier" variable on each page.

You need to have the variable instantiated like this:

var disqus_identifier = 'blogpost_<BLOG POST ID HERE>';

before you include the disqus javascript files.

Olly