Camel case JSON support for Django REST framework.
At the command line:
$ pip install djangorestframework-camel-case
Add the render and parser to your django settings file.
# ... REST_FRAMEWORK = {
- 'DEFAULT_RENDERER_CLASSES': (
- 'djangorestframework_camel_case.CamelCaseJSONRenderer', # Any other renders
),
- 'DEFAULT_PARSER_CLASSES': (
- 'djangorestframework_camel_case.CamelCaseJSONParser', # Any other parsers
),
} # ...
- Free software: BSD license