Skip to main content

Comments helpers for sites built with Molo.

Project description

Continuous Integration Code Coverage

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 += [
    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 %}

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

molo.commenting-11.2.1.tar.gz (33.7 kB view hashes)

Uploaded source

Built Distribution

molo.commenting-11.2.1-py2.py3-none-any.whl (51.3 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page