Skip to content

rense/django-rest-camel

 
 

Repository files navigation

Django REST Framework CamelCase magic

https://badge.fury.io/py/django-rest-camel.png

Camel case support for Django REST framework - right now only JSON is supported.

This project is a "resurrection fork" of djangorestframework-camel-case_ by Vitaly Babiy

Installation

At the command line:

$ pip install django-rest-camel

Add the render and parser to your django settings file.

# ...
REST_FRAMEWORK = {

    'DEFAULT_RENDERER_CLASSES': (
        'rest_camel.render.CamelCaseJSONRenderer',
        # Any other renders
    ),

    'DEFAULT_PARSER_CLASSES': (
        'rest_camel.parser.CamelCaseJSONParser',
        # Any other parsers
    ),
}
# ...

Running Tests

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

$ tox

License

  • Free software: BSD license

About

Camel case JSON support for Django REST framework.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 93.2%
  • Makefile 6.8%