Camel case support for Django REST Framework.
Project description
=====================================
Django REST Framework CamelCase magic
=====================================
.. image:: https://badge.fury.io/py/django-rest-camel.png
:target: http://badge.fury.io/py/django-rest-camel
.. image:: https://img.shields.io/pypi/v/django-rest-camel.svg
:target: https://img.shields.io/pypi/v/django-rest-camel.svg
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
.. _djangorestframework-camel-case https://github.com/vbabiy/djangorestframework-camel-case
============
Installation
============
At the command line::
$ pip install django-rest-camel
Add the render and parser to your django settings file.
.. code-block:: python
# ...
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
History
-------
0.3.0 (2017-05-26)
++++++++++++++++++
* Fork of the project to maintain development
* Drop Py26, Py33 and Py34 support
* Drop DRF<3.0 support
0.1.0 (2013-12-20)
++++++++++++++++++
* First release on PyPI.
Django REST Framework CamelCase magic
=====================================
.. image:: https://badge.fury.io/py/django-rest-camel.png
:target: http://badge.fury.io/py/django-rest-camel
.. image:: https://img.shields.io/pypi/v/django-rest-camel.svg
:target: https://img.shields.io/pypi/v/django-rest-camel.svg
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
.. _djangorestframework-camel-case https://github.com/vbabiy/djangorestframework-camel-case
============
Installation
============
At the command line::
$ pip install django-rest-camel
Add the render and parser to your django settings file.
.. code-block:: python
# ...
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
History
-------
0.3.0 (2017-05-26)
++++++++++++++++++
* Fork of the project to maintain development
* Drop Py26, Py33 and Py34 support
* Drop DRF<3.0 support
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
Built Distribution
Close
Hashes for django_rest_camel-0.3.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66848ff9322e516a1c059bd2eb4a407e24c87ca1aacfa1bfb65bb783763f6056 |
|
MD5 | 80e708d35993a3f86452c5d3d063a025 |
|
BLAKE2b-256 | 103384108366080f0acf02b43579b432b1a069510d20ee2ee7c4544f8deb096f |