Skip to main content

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.


Project details


Download files

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

Source Distribution

django-rest-camel-0.3.4.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

django_rest_camel-0.3.4-py2.py3-none-any.whl (8.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-rest-camel-0.3.4.tar.gz.

File metadata

File hashes

Hashes for django-rest-camel-0.3.4.tar.gz
Algorithm Hash digest
SHA256 1129c39828b71cf9595337c169cfa7f14abbe0a75a7b42ce8c99c96c0b6b5ae6
MD5 5f9ffb9df9e44414af10d281d36822f3
BLAKE2b-256 887921cce9535b0c4feb3eda9682ad7c2d0fffda410a8d05eb72d8c55729d621

See more details on using hashes here.

File details

Details for the file django_rest_camel-0.3.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_rest_camel-0.3.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9804b74f34bf4b5890d59815074862e59b44f329fd3d34095d215f6dd05e74db
MD5 5121511c9a29ca3182c0cfcbcb4167c3
BLAKE2b-256 8c1aeb095e571cb17b1a2064bdd9a5993ec7094b0ad5046dd43a9241df6aaa07

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page