How do I reference my own record in a model in a Django view?

后端 未结 0 1298
情歌与酒
情歌与酒 2020-11-29 08:52

I have two models, Contestant and Team, which have a relationship with each other. They are defined like so:

class Contestant(models.Model):
    contestant_em         


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