-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CamelCaseJSONRenderer alter response.data #26
Comments
Any idea if this package works with latest DRF? |
@sadan as You can see in https://github.com/magul/drf-cc-26 I'm using it with
|
Probably the issue is here https://github.com/vbabiy/djangorestframework-camel-case/blob/master/djangorestframework_camel_case/util.py#L21 because it will replace list items in place instead of creating new one as it do with Edit: never mind I saw that you already made a PR. |
Thanks @magul for the report should be fixed on master |
As it says in Django REST Framework documentation
Unfortunatelly it occurs that
CamelCaseJSONRenderer
is changingresponse.data
frominto
For minimal example see: https://github.com/magul/drf-cc-26 (there are 4 tests and 1 is failing because of the issue).
The text was updated successfully, but these errors were encountered: