Django OneToOne field, reverse not required

后端 未结 0 1138
攒了一身酷
攒了一身酷 2020-12-30 22:36

I want to have a OneToOne relationship between to models;

class Pet(models.Model):
  name = models.CharField()

class C         


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