skip to navigation
skip to content

Not Logged In

cmsplugin-comments 0.1

A django-cms plugin for adding comments

Dependencies

  • captcha

Installation

pip install cmsplugin-comments

settings.py:

INSTALLED_APPS = (
    ...
    'cmsplugin_comments',
    ...
)

urls.py:

urlpatterns = patterns('',
    ...
    url(r'^comments/', include('django.contrib.comments.urls')),
    ...
)

Enable captcha

settings.py:

INSTALLED_APPS = (
    ...
    'cmsplugin_comments',
    ...
)

COMMENTS_APP = 'cmsplugin_comments'

urls.py:

 urlpatterns = patterns('',
    ...
    url(r'^comments/', include('captcha.urls')),
    ...
)

Enable emailing of new messages to admins

settings.py:

EMAIL_HOST=
EMAIL_PORT=
EMAIL_HOST_USER='my@email.com'
EMAIL_HOST_PASSWORD='xxx'
EMAIL_USE_TLS=True
touch {project-home}/templates/comments/comment_notification_email.txt

finally:

manage.py syncdb
manage.py migrate
 
File Type Py Version Uploaded on Size
cmsplugin-comments-0.1.tar.gz (md5) Source 2011-03-13 3KB
  • Downloads (All Versions):
  • 64 downloads in the last day
  • 230 downloads in the last week
  • 668 downloads in the last month