Skip to main content

A django-cms plugin for adding comments

Project description

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

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

cmsplugin-comments-0.1.tar.gz (3.7 kB view hashes)

Uploaded Source

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