# 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}}
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}}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-cuelogic-comments-0.0.1.tar.gz.
File metadata
- Download URL: django-cuelogic-comments-0.0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
051bfcc9ca13fa5eaff74e3c8a4d1e4d40f07adf2a75d1913bc56a8ab66a93f3
|
|
| MD5 |
578dfe1994bf9587112558c977caf719
|
|
| BLAKE2b-256 |
6840c315de4f85e00bb916fcdc7b57a56e5ec01aab64b20fdadbcdc06ee31961
|