Django: dependencies reference nonexistent parent node

Solution – 1

Remove pyc files from your migrations folder.

Solution – 2

Need to remove that reference from testBolt.0001_initial by editing migration file.

Solution – 3

  1. Remove the new changes from the models and run python manage.py migrate --fake

  2. Now again modify your models with new changes

  3. Run python manage.py makemigrations

  4. And then again run python manage.py migrate

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)