https://github.com/husein14azimi/coursell
https://github.com/husein14azimi/coursell
django django-comments-xtd django-rest-framework djoser simple-jwt
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/husein14azimi/coursell
- Owner: husein14azimi
- Created: 2025-01-13T07:43:09.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-21T15:54:37.000Z (3 months ago)
- Last Synced: 2025-02-06T04:58:04.367Z (3 months ago)
- Topics: django, django-comments-xtd, django-rest-framework, djoser, simple-jwt
- Language: Python
- Homepage:
- Size: 473 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
### comment api endpoints (drf-comments python package)
List Comments: `GET /comments/`
Create Comment: `POST /comments/`
Retrieve Comment: `GET /comments//`
Update Comment: `PUT /comments//`
Delete Comment: `DELETE /comments//`
### how to create and get comments:
* creation:
* send a post request to `comments/` url.
* write the json object in the request body.
* list:
* send a get request to `/comments/?content_type=&object_pk=`