A reusable Django app for generic comments with DRF API support
Project description
Django Tippanee
A reusable Django app for a generic comment system with DRF API support, using GenericForeignKey to attach comments to any model.
Installation
pip install django-tippanee # after uploading to pypi
pip install git+https://github.com/urwithajit9/django-tippanee.git
Usage
- Add to INSTALLED_APPS:
INSTALLED_APPS = [
...
'django_tippanee',
]
- Include URLs:
urlpatterns = [
path('api/comments/', include('django_tippanee.urls')),
]
- Run migrations
python manage.py migrate
API Endpoints
-
GET /api/comments/: List comments (filter by content_type, object_id).
-
POST /api/comments/: Create a comment.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_tippanee-0.1.0.tar.gz.
File metadata
- Download URL: django_tippanee-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
634a2565eeb2f9fda677a7a8ddb436088fdeb6aa87089badbf3ab1baf3d0f893
|
|
| MD5 |
7e15d5154434c837a510c69f9c450005
|
|
| BLAKE2b-256 |
ffbdd45d10c98bd89ebd779364aa08a0d6125e80248c29d1b85b68807a328074
|
File details
Details for the file django_tippanee-0.1.0-py3-none-any.whl.
File metadata
- Download URL: django_tippanee-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a946ad09bc95592045b35cbe217afcc22792bc3d4e9f60f1d9e2ae3db164c89b
|
|
| MD5 |
26bf27ce56d407127814b3aae7498629
|
|
| BLAKE2b-256 |
b8dbbb920fc99fb12bfff29448d8b55625c2c8a6babda0db6f05a69dd4acc22c
|