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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e358b0347285f45f5434ab439a8797f068a2f7a96a45f62e589babc800623908 |
|
MD5 | 3535bffc999e8dd22600c7eb1eeafabe |
|
BLAKE2b-256 | ff874abddefb640628ea82c96a4dba0685412ae4199674291c30d640c3cb1be7 |
Close
Hashes for drf_msgspec_json_renderer-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f29b0c8f438d95c089f7303c31cbde71dec2c13184fd709af403a97dbdb7d32 |
|
MD5 | e6d0ba31f6c8ab577ac3780077756eaa |
|
BLAKE2b-256 | 7f7105eb3eabc7d948ff4f4889b9897f5a74f8811d7aeedf320081b3390573cf |