Django Rest Framework to return desired results from two models

后端 未结 0 1655
南方客
南方客 2021-01-05 00:47

I have two models (customer, movie) and I would like to return (movie_name, customer_name, id) when I hit the URL (api/customer/1) and when I hit the URL (api/customer/1/mov

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