Creating multiple django objects with the same foreign key object in one API call

前端 未结 0 1516
时光取名叫无心
时光取名叫无心 2020-12-24 05:13

Lets say I\'ve two models A and B where A has a ManyToOne Relationship with B modelled as shown below:

class A(models.Model):
    active = models.BooleanField         


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