TypeError: __init__() missing 1 required positional argument: ‘on_delete‘

解决方案:在外键中添加 on delete 参数

猜你喜欢

转载自blog.csdn.net/h1751541643/article/details/113435205