No project description provided
Project description
Django Rest Framework msgspec Renderer
Django Rest Framework renderer using msgspec
Installation
pip install drf_msgspec_json
You can then set the MsgspecJSONRenderer
class as your default renderer in your settings.py
REST_FRAMEWORK = {
'DEFAULT_RENDERER_CLASSES': (
'drf_msgspec_json.renderers.MsgspecJSONRenderer',
),
...
}
Also you can set the MsgspecJSONParser
class as your default parser in your settings.py
REST_FRAMEWORK = {
'DEFAULT_PARSER_CLASSES': (
'drf_msgspec_json.parsers.MsgspecJSONParser',
),
...
}
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
Built Distribution
Close
Hashes for drf_msgspec_json_renderer-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b53cb423e5a3f5349ee47dda7cbb5f4f6eb56c79db89fae99c9a3a7520afb31c |
|
MD5 | e6f42ccb7d172b7f2cb061bae211500b |
|
BLAKE2b-256 | b249e106b8625ffa8497476c478fce663aef48c7b1b50189eb7634e08d398c39 |
Close
Hashes for drf_msgspec_json_renderer-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bae5e30bc27aa1f9d30036781460a2b5ef750d3147bc15358e7867a3cad798ab |
|
MD5 | e082368a4bb3ae4cc6535e004e6b6a6d |
|
BLAKE2b-256 | f1567bb57f767ebe759def6291e3e4c3bfa40e2deba46a069dddcee19181a80a |