Discourse Meta
在 PostSerializer#raw 中调用 super 导致 500 错误,而调用 object.raw 却可以工作的原因是什么?
开发
RGJ
(Richard - Communiteq)
2025年十二月5日 15:18
4
您想改用
add_to_serializer
。
例如:
How to add user data to the post serializer?
在主題中顯示貼文
相關主題
話題
回覆
觀看
活動
500 internal server error when updating a post by id
Development
1
159
2025年十一月21日
User can't post: 500 internal server error
Support
10
1507
2018年四月18日
Edits not displayed and timing out
Bug
fixed
11
465
2024年十一月6日
Plugin working locally But not in live
Development
8
1880
2020年四月16日
Update a Post, via API PUT: request
Development
rest-api
6
2346
2023年十月31日