Skip to content

frifri/djangorestframework-camel-case

 
 

Repository files navigation

Django REST Framework JSON CamelCase

image

target

http://badge.fury.io/py/djangorestframework-camel-case

image

target

https://travis-ci.org/vbabiy/djangorestframework-camel-case

image

target

https://crate.io/packages/djangorestframework-camel-case?version=latest

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

About

Camel case JSON support for Django REST framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.2%
  • Makefile 16.8%