quote_from_bytes() expected bytes

quote_from_bytes() expected bytes

I want to update a Post of a blog using the UpdateView but this update in the database. but got always this error.

quote_from_bytes() expected bytes
How can i fixe this error?? Please

Please post the complete error message along with the full traceback. Also post the full view that is causing the error along with the model being used in that view.