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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file djangorestframework-camel-case-0.2.0.tar.gz.
File metadata
- Download URL: djangorestframework-camel-case-0.2.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
989c5c2d0324069fc1ecea4a5cb8913749d5f2f3c507b38977913ff1b76a719e
|
|
| MD5 |
a18aa1e4b5f2f0e66a26d7837da5a6ea
|
|
| BLAKE2b-256 |
06e0e7b0d8371d20b8d0b6ef7490951b8bb9a392fdf250c35d596ae6842a3db4
|