Closed gbataille closed 7 years ago
ok so it's not a test problem, it does not work in "production" either.
Not only does the db record gets mangled, the actual payload that is passed to DRF is broken too. I'll see to add tests and I'll discuss it with Tom (he is back from vacation on Monday)
@gbataille I appreciate the update. Keep me posted if you can and I am merge accordingly.
I'll actually will refactor the clean_data function, I will put this fix in the other PR and fix the tests
… data
This could cause problem in tests where the test framework has already populated request.data with a dict