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 | # downloads |
|---|---|---|---|---|---|
| cmsplugin-comments-0.1.tar.gz (md5) | Source | 2011-03-13 | 3KB | 547 | |
- Author: gmh04
- Home Page: http://bitbucket.org/gmh04/cmsplugin_comments
- License: GPL
- Requires captcha
- Categories
- Package Index Owner: gmh04
- DOAP record: cmsplugin-comments-0.1.xml
