setting没有注册app的不用往下看,下次注意就行 否则 先删除app下的缓存文件和migrations文件 对于每一个app执行命令 python manage.py makemigrations --empty app名称 然后重新makemigrations和migrate