Re: How to modify data after receiving from request.data

2019-10-12 Thread laxmikanta nayak
v Jain > crazcu...@gmail.com/9971594094 > > On Fri, 11 Oct, 2019, 7:20 PM laxmikanta nayak, > wrote: > >> Hi, >> >> I am passing {message: 'here'} to a rest api then in rest api before >> saving to the db i want to modify it to {message:'here it it'}. at which

How to modify data after receiving from request.data

2019-10-11 Thread laxmikanta nayak
Hi, I am passing {message: 'here'} to a rest api then in rest api before saving to the db i want to modify it to {message:'here it it'}. at which step should i do the modification: after reading from request.data using json dump and loads , or there is a way to modify the serializer.data ? --