Skip to content

Commit 5a9b10e

Browse files
committed
project name cleanups
1 parent a2f52ba commit 5a9b10e

File tree

3 files changed

+16
-19
lines changed

3 files changed

+16
-19
lines changed

README.rst

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,27 @@
1-
====================================
2-
Django REST Framework JSON CamelCase
3-
====================================
1+
=====================================
2+
Django REST Framework CamelCase magic
3+
=====================================
44

5-
.. image:: https://badge.fury.io/py/djangorestframework-camel-case.png
6-
:target: http://badge.fury.io/py/djangorestframework-camel-case
5+
.. image:: https://badge.fury.io/py/drf-camel.png
6+
:target: http://badge.fury.io/py/drf-camel
77

8-
.. image:: https://travis-ci.org/vbabiy/djangorestframework-camel-case.png?branch=master
9-
:target: https://travis-ci.org/vbabiy/djangorestframework-camel-case
8+
.. image:: https://img.shields.io/pypi/v/drf-camel.svg
9+
:target: https://img.shields.io/pypi/v/drf-camel.svg
1010

11-
.. image:: https://img.shields.io/pypi/v/djangorestframework-camel-case.svg
12-
:target: https://img.shields.io/pypi/v/djangorestframework-camel-case.svg
1311

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

15-
Camel case JSON support for Django REST framework.
14+
This project is a "resurrection fork" of djangorestframework-camel-case_ by Vitaly Babiy
15+
16+
.. _djangorestframework-camel-case https://github.com/vbabiy/djangorestframework-camel-case
1617
1718
============
1819
Installation
1920
============
2021

2122
At the command line::
2223

23-
$ pip install djangorestframework-camel-case
24+
$ pip install drf-camel
2425

2526
Add the render and parser to your django settings file.
2627

@@ -30,12 +31,12 @@ Add the render and parser to your django settings file.
3031
REST_FRAMEWORK = {
3132
3233
'DEFAULT_RENDERER_CLASSES': (
33-
'djangorestframework_camel_case.render.CamelCaseJSONRenderer',
34+
'drf_camel.render.CamelCaseJSONRenderer',
3435
# Any other renders
3536
),
3637
3738
'DEFAULT_PARSER_CLASSES': (
38-
'djangorestframework_camel_case.parser.CamelCaseJSONParser',
39+
'drf_camel.parser.CamelCaseJSONParser',
3940
# Any other parsers
4041
),
4142
}
@@ -47,11 +48,10 @@ Running Tests
4748

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

50-
$ python -m unittest discover
51+
$ tox
5152

5253
=======
5354
License
5455
=======
5556

56-
5757
* Free software: BSD license

drf_camel/util.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,3 @@ def underscorize(data):
7878
return type(data)(underscorize(x) for x in data)
7979

8080
return data
81-
82-
83-
underscoreize = underscorize # backward compatibility

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
setup(
1919
name='drf-camel',
2020
version='0.3.0',
21-
description='Camel case JSON support for Django REST framework.',
21+
description='Camel case support for Django REST Framework.',
2222
long_description=long_description,
2323
author='Dominik Kozaczko',
2424
author_email='[email protected]',

0 commit comments

Comments
 (0)