djangorestframework-camel-case
djangorestframework-camel-case copied to clipboard
Add capability to camelize QuerySets
This PR is intended to add support when one is using .values() method on querysets. Actual behaviour is returning the QuerySet since it's not a dict, a list neither a tuple. Now a ValuesQuerySet (deprecated from 1.9, for this reason I check straight for QuerySet instance) can be camelized correctly.
Since there is no django setup while running tests I'm not sure how to test it and add this behaviour, but if you have any suggestion @vbabiy I'd be happy to do it
@MattBlack85 this is great idea, we need to set up an integration suite to test this. Also allowing us to test settings.