TypeError: Object of type ImageFieldFile is not JSON serializable 首先,我们是把模型直接转化为json 数据 , 但是有些关键数据其他类型就无法转化 , 或者会出现转化错误 例如如下转换方式导致的错误 image.png 换一种方式来解决问题 image.png image.png