molo.commenting 5.0.0 2017-04-21

molo.commenting on PyPI  

Comments helpers for sites built with Molo.


AuthorPraekelt Foundation
LicenseBSD
Keywords praekelt mobi web django

Installation:

pip install molo.commenting

Django setup:

INSTALLED_APPS = INSTALLED_APPS + (
   'django_comments',
   'molo.commenting',
   'notifications'
)
COMMENTS_APP = 'molo.commenting'
COMMENTS_FLAG_THRESHHOLD = 3
COMMENTS_HIDE_REMOVED = False
SITE_ID = 1

In your urls.py:

urlpatterns += patterns('',
    url(r'^commenting/',include('molo.commenting.urls', namespace='molo.commenting', app_name='molo.commenting')),
    url(r'', include('django_comments.urls')),
)

In your article_page.html:

{% block content %}
 {% include "comments/comment_block.html" %}
{% endblock %}