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

Uploaded Source

File details

Details for the file django-cuelogic-comments-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-cuelogic-comments-0.0.1.tar.gz
Algorithm Hash digest
SHA256 051bfcc9ca13fa5eaff74e3c8a4d1e4d40f07adf2a75d1913bc56a8ab66a93f3
MD5 578dfe1994bf9587112558c977caf719
BLAKE2b-256 6840c315de4f85e00bb916fcdc7b57a56e5ec01aab64b20fdadbcdc06ee31961

See more details on using hashes here.

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