from django.db import models class Category(models.Model): name = models.CharField(maxlength=96,db_column='testname',unique=True) description = models.CharField(maxlength=100,blank=True) class Meta: db_table = 'TestCategory' 但是为毛ForeignKey设置db_column后,会出现vm_uuid cannot be null的错误?取消db_column设定后问题消失? 为毛啊为毛?