[Answered ]-Better Alternative to django.contrib.comments

1👍

As stated in the official document, https://docs.djangoproject.com/en/1.7/ref/contrib/comments/

Django’s comment framework has been deprecated and is no longer supported. Most users will be better served with a custom solution, or a hosted product like Disqus.

If you still want to work with the old comments app, the repo is available at https://github.com/django/django-contrib-comments
You might want to customized as needed

However if you want to use another apps, you can use Disqus as alternative. https://github.com/arthurk/django-disqus

👤Yeo

1👍

Here are some alternatives as per my personal experience with pros and cons:

  1. Disqus – Very user friendly, supports a wide range of social media apps but not free
  2. Facebook Comments – User friendly, free but only supports facebook. If users does not have facebook account, they cannot comment

Hence, i used WidgetPack Comments. Its very user friendly, self-hosted and easy to use. There is a step by step tutorial on its usage here
Step by Step Tutorial.

If you are a reactjs developer, there is an npm module available. This allows to implement it using just a couple of lines of code: react-widgetpack-comments

0👍

Django Comments is still alive, but in a seperate repository. You find the documentation here:

For a quick start of the comments app, follow these initial steps (see above docu):

pip install django-contrib-comments

Enable the “sites” framework by adding ‘django.contrib.sites’ to INSTALLED_APPS and defining SITE_ID=1 (assuming you use just one domain in your current Django project), and ALLOWED_HOSTS = [‘localhost’, ‘127.0.0.1’, ‘[::1]’].

Install the comments framework by adding ‘django_comments’ to INSTALLED_APPS.

Run manage.py migrate so that Django will create the comment tables.
Add the comment app’s URLs to your project’s urls.py:

urlpatterns = [
    ...
    url(r'^comments/', include('django_comments.urls')),
    ...
]

Within the templates you use then the related template tag, more about this and addtional options you find in the docu.

Leave a comment