Django understanding uniq constraint on nested models

前端 未结 0 920
闹比i
闹比i 2020-12-02 00:18

Having the following model


class Department(models.Model):
    name = models.CharField(max_length=10)
    
class Person(models.Model):
    name = models.Char         


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