Dynamically get field name which relates two Django models

前端 未结 0 338
渐次进展
渐次进展 2021-01-13 14:00

Let\'s say I have the following Django model:

class Parent(models.Model):
    name = models.CharField(max_length=50)
    children = models.ManyToManyField(&qu         


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