A Django REST framework package for managing categories and subcategories.
Project description
Ideal Categories Django
This package provides a Django application for managing categories and subcategories using the Django REST framework.
Installation
pip install ideal-categories-django
Usage
Add ideal_categories_django to your INSTALLED_APPS in your Django settings.
INSTALLED_APPS = [
...
'ideal_categories_django',
...
]
Run migrations to create the necessary database tables:
python manage.py migrate
Endpoints
GET /categories/: Fetch all categories in hierarchy.GET /categories/{id}/: Fetch category by ID.POST /categories/: Create a new category.PUT /categories/{id}/: Update an existing category.DELETE /categories/{id}/: Soft delete a category.
LICENSE
Choose an appropriate license for your project, such as MIT License. You can find license templates here.
MANIFEST.in
include README.md
include LICENSE
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 ideal_categories_django-0.1.tar.gz.
File metadata
- Download URL: ideal_categories_django-0.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d57aba2b989a5349731c41702ee5a3f4cc82de2964d479b14072ee6f8ed4c595
|
|
| MD5 |
5bc1995e840483b84debb34d8a29d81e
|
|
| BLAKE2b-256 |
fb39dfba8e8279da8ab319639a3ba587a830c9da82447ec31a59b2d1fbe147c2
|