If possible, can you please share the link of the plugin that you were working on at that time?
Thanks for the great explanations. Am I right to assume that it would be possible to use add_to_serializer, something like op_likes? I’m not sure why this happens, but I can only have access to the op_likes_count when I order by it (as in order=op_likes), but I wanted to have such numbers without having to order by it.
Is there also a way to use it from JavaScript? I’m currently looking at `showOpLikes` doesn't work right away, but after clicking back and forth - #6 by pfaffman which was closed.
No, you can’t change an API from a client ![]()
This should absolutely not be the default. Not all user custom fields should be displayed to the user (e.g. see Staff Notes).
我想知道在 UI 中创建自定义用户字段时,“添加到序列化器”是否可以是一个复选框。然后,PR 可以检查自定义用户字段是否已添加到序列化器,如果是,则添加它。
5 个帖子被拆分到一个新主题:向用户序列化器添加内容对当前用户对象无效