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-6.1.1.tar.gz (28.6 kB view details)

Uploaded Source

File details

Details for the file molo.commenting-6.1.1.tar.gz.

File metadata

File hashes

Hashes for molo.commenting-6.1.1.tar.gz
Algorithm Hash digest
SHA256 5b4eab97d1a4241c5dfd17ad1bf199b95c9907e0bd73bd6b21a7aa6a569c6c5c
MD5 991477fa8d77467d33201b0b0bab6f6a
BLAKE2b-256 1a2a281b5803d085c3ecdb4b22514f17692662b55a196738759b196ecc2c7964

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page