Django rest framework serializing many to many field

前端 未结 7 1493
旧时难觅i
旧时难觅i 2020-11-28 03:46

How do I serialize a many-to-many field into list of something, and return them through rest framework? In my example below, I try to return the post together with a list of

7条回答
提交回复
热议问题