Using a PATCH
request on a RetrieveUpdateDestroyAPIView
I receive the following in RetrieveUpdateDestroyAPIView.update
when i run print(request.data)
:
{'myVar': ''}
when running automated tests using django rest framework's APIClient I get this:
<QueryDict: {'myVar': ['']}>
Why is this different? What can i do to ensure consistency between my environments of test and dev?