Reputation: 699
I am having a nightmare working with django default commenting app. I am trying to customize it and add it to div tags to each field and have not been able to find out how to do it so far :(
Is there a better alternative of this app?
Thanks
Upvotes: 1
Views: 2085
Reputation: 505
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.
Upvotes: 0
Reputation: 21
Here are some alternatives as per my personal experience with pros and cons:
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
Upvotes: 1
Reputation: 11814
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
Upvotes: 1