#XResponse
XResponse is a very simple package that has some reusable responses for DRF to be used throughout the apis built at xKern.
##Usage
Add the following line to your settings.py module
REST_FRAMEWORK = {
'EXCEPTION_HANDLER': 'my_project.my_app.utils.custom_exception_handler'
}
Release files for xresponse 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xresponse-0.0.3.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xresponse-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.0 kB
Release files / xresponse-0.0.3.tar.gz
| Download URL | xresponse-0.0.3.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f68f95d55535f733160ef509da1d6cfcf4da342b6271a6ea563ee4b0aa00e8f
|
|
BLAKE2b-256 checksum How to use checksums |
6d2c07169f63f405d464fc687c34081f70c0a6ab14d86ca9d0340381a34f0de5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Release files / xresponse-0.0.3-py3-none-any.whl
| Download URL | xresponse-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7c8e95dcfda8bbe7a7a24b6e1eeb93b8184071067b135eeafb0f97e283bfcb64
|
|
BLAKE2b-256 checksum How to use checksums |
c9f1ca8784a3c58a5a80ac97267898ffd480f5c565d04a547b57b77fa2a798e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|