DRF: access serializer fields outside meta

前端 未结 0 849
半阙折子戏
半阙折子戏 2021-02-03 17:54

So, i need to get the "like" status on posts, and need my serialzier to return attr "liked" bool.

I am trying to get the current post being serialized

相关标签:
回答
  • 消灭零回复
提交回复
热议问题