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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f32551926d43f8ca41c2c7b54db82b033397f5d3e5013b541802c58e07f32a8f |
|
MD5 | 65db6feeeb515cb48ce080c24e4d8199 |
|
BLAKE2b-256 | 1700654c63f0525cb603e695458a1390293854a5ea47419a329408f74aaa904e |
Close
Hashes for drf_msgspec_json_renderer-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22bde08288a9a929e2d5cdd444692077ad47058f45c7d45f73d7e3428ef40988 |
|
MD5 | f60b64b4d6920bd008c212c1b344a7f0 |
|
BLAKE2b-256 | 6c6b5fc55f8c1c243c3e99b949130a3faa5ed5c4d7457e991430469e84557b93 |