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
GPL

Author

gmh04

Pip

cmsplugin-comments==0.1

Classifiers

  • Environment :: Web Environment
  • Framework :: Django
  • Intended Audience :: Developers
  • License :: OSI Approved :: MIT License
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Development Status :: 4 - Beta
  • Topic :: Internet :: WWW/HTTP
  • Topic :: Security

Requirements

File Type Python Version Uploaded On Downloads
cmsplugin-comments-0.1.tar.gz Source March 13, 2011 3,487
Version Release Date
0.1 March 13, 2011
Date Package Version Action
Aug. 24, 2015, 10:46 p.m. cmsplugin-comments 0.1 Release Created
Aug. 24, 2015, 10:46 p.m. cmsplugin-comments Package Created