Skip to main content

Reusable Responses and Error responses for xKern APIs

Project description

#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'
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xresponse-0.0.3.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xresponse-0.0.3-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file xresponse-0.0.3.tar.gz.

File metadata

  • Download URL: xresponse-0.0.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for xresponse-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9f68f95d55535f733160ef509da1d6cfcf4da342b6271a6ea563ee4b0aa00e8f
MD5 3da4561bef333d33bb1ef48c080a2805
BLAKE2b-256 6d2c07169f63f405d464fc687c34081f70c0a6ab14d86ca9d0340381a34f0de5

See more details on using hashes here.

File details

Details for the file xresponse-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: xresponse-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for xresponse-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7c8e95dcfda8bbe7a7a24b6e1eeb93b8184071067b135eeafb0f97e283bfcb64
MD5 6253b48662066f49907285a885724b14
BLAKE2b-256 c9f1ca8784a3c58a5a80ac97267898ffd480f5c565d04a547b57b77fa2a798e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page