Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
593 views
in Technique[技术] by (71.8m points)

Django Migrations Error : django.db.migrations.exceptions.NodeNotFoundError

I tried to add a new app in my django project and when I tried to make migrations the following error occured:

django.db.migrations.exceptions.NodeNotFoundError: Migration masters.0001_initial dependencies reference nonexistent parent node ('auth', '0011_update_proxy_permissions')

Now I checked why this error occured and I found out that it's because in Masters app I have this:

dependencies = [
        ('auth', '0011_update_proxy_permisssions'),
    ]

I am not sure where this file exists, also I tried checking the last deployed version of the app and it has the same dependency but I couldn't find the file in the previously deployed version too.

How can I rectify it ?

question from:https://stackoverflow.com/questions/65931799/django-migrations-error-django-db-migrations-exceptions-nodenotfounderror

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...