django-cuelogic-comments
django-cuelogic-comments is a simple Django app to conduct Web-based Comments.
Installation
pip install django-cuelogic-comments
Quick start
-
Add "comments" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = ( ... 'django_cuelogic_comments', )
Run
python manage.py migrate
to create the comments models.-
In your view file import the module
from django_cuelogic_comments import Comments
-
Create a instance in your view file/where you want to include comments
comments = Comments.get(request,post_id,delete=True,reply=True,"Username")
-
Pass this comments data to your template
render_to_response('your template file', RequestContext(request, {"comments":comments}))
-
Print in Template
{{comments}}