DRF middleware to wrap all API responses and handle exceptions
Project description
DRF Response Wrapper
A Django REST Framework middleware that wraps all API responses into a consistent format,
without modifying your views.
🚀 Features
- Auto-wrap success & error responses
- Standardized response structure
- Easy integration with Django & DRF
📦 Installation
pip install drf-response-wrapper
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 drf_response_wrapper-0.1.0.tar.gz.
File metadata
- Download URL: drf_response_wrapper-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dd00e77f398e4420bd4702319e327667e8a13d3022ce2cccf682bee209526cf
|
|
| MD5 |
e3f278ce12e3e1f8390eb14dc1e92fc0
|
|
| BLAKE2b-256 |
6ba13ab603e82f6cd6a3e6599e1ed8ded6bd6cc6b40d42801ddf8411ec190125
|
File details
Details for the file drf_response_wrapper-0.1.0-py3-none-any.whl.
File metadata
- Download URL: drf_response_wrapper-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d205e82882b86fb5f3538b680fd795428c71e5afa34547b641023629c23ebfc
|
|
| MD5 |
d9bff1f5be0e45bed00e990c020afe09
|
|
| BLAKE2b-256 |
49bbe27d76dd2fa82e2a86ff562057be6020e31d2764c0aa9d0abeb54e4363da
|