python建表出现__init__() missing 1 required positional argument: 'on_delete'

527 阅读1分钟

publish=models.ForeignKey("Publish",on_delete=models.CASCADE,)