No project description provided
Project description
Django Rest Framework msgspec Renderer
Django Rest Framework renderer using msgspec
Installation
pip install drf-msgspec-json-renderer
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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | acc3c7c371bb3e54fad5eacb6d3cacea29735b3eb993a5f5883889367310daf6 |
|
MD5 | c4a3571bb9c6ca9d150fbac2169a847a |
|
BLAKE2b-256 | 43a3767a8addbb545a813da27c32c1f4f09a66cb555e140c43a9b7b5a6c48582 |
Close
Hashes for drf_msgspec_json_renderer-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2d76a97fb788635201f5b8ffb90e838fba7e92e9df3aab755487dafc4e7985d |
|
MD5 | f01d4873d5330d9abc98a41ad7347155 |
|
BLAKE2b-256 | 3ae6472703cbe567a98f4e8e7ab210219cc5e2ca424a6c801d4eed974b86f60c |