阅读背景:

如何使用django rest_framework进行序列化?

来源:互联网 

I have a Recipe model that holds an M2M field of an IngredientType object. This field, aka ingredient_list, uses the notorious 'through' model via an Ingredient object that adds extra data to my IngredientType. these are my classes:I have a Recipe model that holds an M2M field o




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: