How to correctly use Django reverse FK lookup to show instances of the child model in CBV

前端 未结 0 722
渐次进展
渐次进展 2020-11-29 12:27

I have two models, field of one of them pointing to the other as shown below:

class Group(models.Model):
    group_company_id = models.CharField(primary_key=T         


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