How to handle PUT request for a model with an extended user(onetoone field) relationship django rest framework

后端 未结 0 1540
执念已碎
执念已碎 2021-01-05 00:08

I have a profile model with a onetoone relationship with the django User model, I created an API endpoint which works fine for get and post request but when I try to do a pu

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