为使用Molo构建的站点提供评论辅助工具。
项目描述
安装
pip install molo.commenting
Django配置
INSTALLED_APPS = INSTALLED_APPS + ( 'django_comments', 'molo.commenting', 'notifications' ) COMMENTS_APP = 'molo.commenting' COMMENTS_FLAG_THRESHHOLD = 3 COMMENTS_HIDE_REMOVED = False SITE_ID = 1
在您的urls.py中
urlpatterns += [ url(r'^commenting/',include('molo.commenting.urls', namespace='molo.commenting', app_name='molo.commenting')), url(r'', include('django_comments.urls')), ]
在您的article_page.html中
{% block content %} {% include "comments/comment_block.html" %} {% endblock %}
项目详情
关闭
哈希值 for molo.commenting-11.2.1-py2.py3-none-any.whl
算法 | 哈希摘要 | |
---|---|---|
SHA256 | b8bcc835015dd6234c453ff4fcab49ed5336327b5d2c81e62e09a9f00488a627 |
|
MD5 | a21d60285406199a4c42d2549ba60d19 |
|
BLAKE2b-256 | 813a46bdeb9c9c5e32cfaaeede1cb598e7d825e624f79fa3047d948cfed3783e |