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
Source:stackexchange.com
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