dhango_自定义多对多替中间表through报错_ForeignKey is invalid. First parameter to ForeignKey must be either
问题描述:在model.py中创建多对多模型,自定义中间表through的时候,生成迁移报错报错如下;完整报错信息(venv) F:\django_lear\mysite1>python manage.py makemigrationsTraceback (most recent call last): File "F:\django_learn\venv\lib\...
原创
2019-11-22 14:44:04 ·
1963 阅读 ·
0 评论