Disqus

We use Disqus for commentary in our products.

We love Disqus. It offers a seamless integration to easily capture feedback and comments from users on your blog posts or other shared content. Now, the integration is largely taken care of in each of our products which support this feature. But you will still need to create a Disqus account and obtain a Disqus URL to take advantage of it.

Create your Account & Obtain your URL

To get started, go ahead and sign-up to Disqus. Once you have an account, log-in, and find the section to add Disqus to your site. You should be presented with a screen similar to below.

Select the option to 'install Disqus on my site'.

Next, you'll be provided with an option to create a new site on Disqus.

Enter a website name, and take note of your Disqus URL.

You'll be presented with some payment options on the next screen, however there should be a 'Basic' option available which is free.

On the next screen, you'll be presented with various integration guides depending on your platform.

Again, the integration is largely taken care of for you, but go ahead and select the bottom option to 'install manually with Universal Code'.

On the next screen, there is nothing to do here other than confirm your Disqus URL. You can do so by finding the script tag below.

<script id="dsq-count-scr" src="//djangomango.disqus.com/count.js" async></script>

The Disqus URL in the above example is 'djangomango.disqus.com'. This is the URL which you need to use for your DjangoMango configuration.

On the next screen, you can update your personal and website settings if you wish.

Configure your DjangoMango Product

Next, you'll need to enter your Disqus URL into your DjangoMango product configuration menu. You can do so in one of two ways.

First, if you are comfortable with coding and have Created your Development Environment, then simply find the relevant management script for your product. In almost all cases, it will be located in 'apps/core/management/commands/run_rebuild_core.py'. In this file, you should find a parameter named 'disqus_url'. Simply update the value of that parameter and commit your changes to version control.

Alternatively, if you are not comfortable with coding, then you must wait until you have Created your Production Environment and deployed your product to make the change. Once deployed, log into the Django admin interface via the 'yourdomain.com/admin' URL, and find the 'Site Config' view under 'Core'.

Within the 'Site Config' view, you should find the 'Config Disqus' setting.

Simply update the Disqus URL via this setting, and save your changes.

And that's it! If all went well, you should be able to see a Disqus comment area under relevant sections of your web app.

Last updated