这样更新完数据库没变,也不报错
dream = Dream.objects.filter(did = request_did)
dream[0].content = request_content
dream[0].save()
这样就可以成功更新
dream = Dream.objects.filter(did = request_did)
dream_item = dream[0]
dream_item.content = request_content
dream_item.save()
关键点是dream[0],不知道这样操作save()无效的原因