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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…