首页 / PYTHON / python – 在ForeignKey上设置unique = True与使用OneToOneField具有相同的效果