# 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}}
Release files for django-cuelogic-comments 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-cuelogic-comments-0.0.1.tar.gz | 4.2 kB | Details |
Release files / django-cuelogic-comments-0.0.1.tar.gz
| Download URL | django-cuelogic-comments-0.0.1.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
051bfcc9ca13fa5eaff74e3c8a4d1e4d40f07adf2a75d1913bc56a8ab66a93f3
|
|
BLAKE2b-256 checksum How to use checksums |
6840c315de4f85e00bb916fcdc7b57a56e5ec01aab64b20fdadbcdc06ee31961
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |