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

django-cuelogic-comments-0.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

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