Django Check Current User Liked Comment

前端 未结 0 1200
耶瑟儿~
耶瑟儿~ 2021-02-04 07:49

I want to check if the current logged in user has already liked a comment in the template. If it has, the like button should change styles. How do I do this in the tempalte?

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