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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f802dfc7dd5ff18b6848acd2fcabd6df275e28b8a3cb23cc187a08a20aad4958 |
|
MD5 | 73c561ae7f87df14f2569d94ea2614f6 |
|
BLAKE2b-256 | 154521e2437bbf2ee2771c148114db229224b7b96145f45be28c98d733a26cf7 |
Close
Hashes for drf_msgspec_json_renderer-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0efda7121b90a4d20584ff83c7387465d2e6ef6310c5c1496b34e499704b93b |
|
MD5 | bb10f71c6e88780b6cfa9f1ef228e146 |
|
BLAKE2b-256 | 516601f69060df40ba949d5003fe586e4a210cee563b14fe1dc0d3f448528014 |