Error in updating view

PATCH request is not working and shows " “detail”: “Unsupported media type “text/plain” in request.”" error message

For this I need to see your code. Please send you project repository I will check it out.