背景
python 3.7.6
django 2.2
现象
执行python manage.py makemigrations时报错:
django.db.migrations.exceptions.NodeNotFoundError: Migration targets.**** dependencies reference nonexistent parent node ('targets', '***')
原因
各应用的migrations目录内的数据文件干扰
解决方式
将其删除,重新执行python manage.py makemigrations即可。