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 an 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's 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.disqus_url'. Simply update the value of that parameter and commit your changes to version control.

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

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

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