Is the a Django serializer to serialize reverse relations individually?

前端 未结 0 1731
说谎
说谎 2021-02-01 23:39

I have these two models, where A has a many-to-one relation with B:

class A(models.Model):
  field_A1 = models.ForeignKey(\'B\', ...)
           


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