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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cmsplugin-comments-0.1.tar.gz
.
File metadata
- Download URL: cmsplugin-comments-0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | edac4776e716a65f4c53a66d8c0860a13377298107319819faed14d370ce2d37 |
|
MD5 | 3e02b0929a2672cd414a652bb658853b |
|
BLAKE2b-256 | 9c3cfa0811d4a08a23f2d2bc15f7897afafe09ff28da7137213c3577bcdeae7b |