I cannot output the value of the foreign key via jsonresponse serealize

后端 未结 0 1871
说谎
说谎 2020-12-06 23:40

I want to get json serialized the name of the products insted of the id ones. I tried to add natural_keys method on the parent model with no luck.

I can receive the j

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