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 details)

Uploaded Source

File details

Details for the file cmsplugin-comments-0.1.tar.gz.

File metadata

File hashes

Hashes for cmsplugin-comments-0.1.tar.gz
Algorithm Hash digest
SHA256 edac4776e716a65f4c53a66d8c0860a13377298107319819faed14d370ce2d37
MD5 3e02b0929a2672cd414a652bb658853b
BLAKE2b-256 9c3cfa0811d4a08a23f2d2bc15f7897afafe09ff28da7137213c3577bcdeae7b

See more details on using hashes here.

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