[Answer]-Django rest framework deserialize returns dict

1👍

This was actually my bad. I copy-pasted the code and the function ‘restore_object’ was left outside the CommentSerializer class. The default ‘restore_object’ deserializes to a dict.

Very sorry

Leave a comment