用 to_field
pool_no = models.ForeignKey('SimCardPool', verbose_name=u'卡池编号', db_column='pool_no', to_field='pool_no')
2024-03-06 21:48:32
用 to_field
pool_no = models.ForeignKey('SimCardPool', verbose_name=u'卡池编号', db_column='pool_no', to_field='pool_no')