Django seed with m2m field

后端 未结 0 1005
醉酒成梦
醉酒成梦 2020-12-03 02:31

I\'d like to make seed data but there is an error :

TypeError: Direct assignment to the forward side of a many-to-many set is prohibited. Use participant

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