Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Camel case JSON support for Django REST framework.

Project description

===============================
Django REST Framework JSON CamelCase
===============================

.. image:: https://badge.fury.io/py/djangorestframework-camel-case.png
:target: http://badge.fury.io/py/djangorestframework-camel-case

.. image:: https://travis-ci.org/vbabiy/djangorestframework-camel-case.png?branch=master
:target: https://travis-ci.org/vbabiy/djangorestframework-camel-case

.. image:: https://pypip.in/d/djangorestframework-camel-case/badge.png
: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



History
-------

0.1.0 (2013-12-20)
++++++++++++++++++

* First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
djangorestframework-camel-case-0.2.0.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None Jul 17, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page