Django | Admin display foreign key as field rather than object

后端 未结 0 628
清酒与你
清酒与你 2021-02-04 06:47

I have a Django project with the following two models setup:

class List(models.Model):
    team = models.ForeignKey(Team, on_delete=models.CASCADE)
    name = mod         


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