How do I add a foreign key field in a post method for Django Rest Framework

后端 未结 0 1207
别那么骄傲
别那么骄傲 2021-02-07 07:16

I am really sorry if I am being a noob, but how do I add a foreign key field with my post method. I need to mention the blog post, the user who made the comment with the post. B

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