帖子中是否可以在用户名称旁边显示其职位头衔?

I think you want a plugin to add a custom field to the serializer so that you can add it next to the username as you describe.

Without checking carefully, I think this is very much like Showing topic creator and posts/join dates - #2 by pfaffman

Edit: that’s not as helpful as I’d hoped.

Ah. See How to add custom fields to models

1 个赞