A Django app to add nested commenting feature to the user django application.
Project description
================================= A Django Nested Commenting App
Commenting is a Django app to add nested comment functionality to you django web application.
Detailed documentation is in the "docs" directory.
Quick start
-
Add "commenting" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ..., 'commenting', ]
-
Include the polls URLconf in your project urls.py like this::
path('commenting/', include(('commenting.urls', 'commenting'), namespace='commenting')),
-
Run
python manage.py migrate
to create the polls models. -
Start the development server
python manage.py runserver
and visit ' http://127.0.0.1:8000/admin/ 'to see whether comment model has been added successfully or not. -
In your object(say Post) detail page add ' {% load comment_form_tag %} ' below {% extend %} if there is.
-
Now load the comment application in the template using ' {% render_comment_form post %} ''
Project details
Release history Release notifications | RSS feed
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-commenting-0.3.tar.gz
.
File metadata
- Download URL: django-commenting-0.3.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90a2b2bce2cbe0b1ea81939a63275f735f80b4322db0d46c3a3ad78fa34f0f6a |
|
MD5 | feb4241cb468fd199709ce728d756843 |
|
BLAKE2b-256 | c2060ed6c9c868f437a1dd0496a40930e2285015a466ec341512ebe52edafad9 |