djangorestframework-camel-case

Camel case JSON support for Django REST framework.


Keywords
djangorestframework_camel_case
License
BSD-3-Clause
Install
pip install djangorestframework-camel-case==1.0b1

Documentation

Django REST Framework JSON CamelCase

https://badge.fury.io/py/djangorestframework-camel-case.png https://travis-ci.org/vbabiy/djangorestframework-camel-case.png?branch=master https://pypip.in/d/djangorestframework-camel-case/badge.png

Camel case JSON support for Django REST framework.

Installation

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.render.CamelCaseJSONRenderer', # Any other renders

),

'DEFAULT_PARSER_CLASSES': (
'djangorestframework_camel_case.parser.CamelCaseJSONParser', # Any other parsers

),

} # ...

Running Tests

To run the current test suite, execute the following from the root of he project:

$ python -m unittest discover
  • Free software: BSD license