Skip to main content

A simple Django app for manage comments.

Project description

# django-cuelogic-comments

django-cuelogic-comments is a simple Django app to conduct Web-based Comments.

Quick start
-----------

1. Add "comments" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'django_cuelogic_comments',
)

2. Include the comments URLconf in your project urls.py like this::

url(r'^comments/', include('django_cuelogic_comments.urls')),

3. Run `python manage.py migrate` to create the comments models.

4. In your view file import the module

from django_cuelogic_comments import Comments

5. Create a instance in your view file/where you want to include comments

comments = Comments.get(request,blog_id,edit=True,delete=True,reply=True,user=data["login"]["name"])

5. Pass this comments data to your template

render_to_response('your template file', RequestContext(request, {"comments":comments}))

6. Print in Template

{{comments}}

Project details


Release history Release notifications

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.

Files for django-cuelogic-comments, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-cuelogic-comments-0.0.1.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page