We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whenever I try to run my test suite I run into the following problem:
django.db.migrations.exceptions.NodeNotFoundError: Migration auditlog.0001_initial dependencies reference nonexistent parent node ('contenttypes', '0001_initial')
To fix the problem I changed auditlog/migrations/0001_initial.py:
dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), # ("contenttypes", "0001_initial"), ("contenttypes", "__first__"), ]
Then the problem is gone. Could this be changed in the codebase?
The text was updated successfully, but these errors were encountered:
Do you have django.contrib.contenttypes in your INSTALLED_APPS setting? If so, why you don't have the 0001_initial migration for contenttypes app?
django.contrib.contenttypes
INSTALLED_APPS
0001_initial
contenttypes
BTW, ("contenttypes", "__first__") seems good to me
("contenttypes", "__first__")
Sorry, something went wrong.
No branches or pull requests
Whenever I try to run my test suite I run into the following problem:
django.db.migrations.exceptions.NodeNotFoundError: Migration auditlog.0001_initial dependencies reference nonexistent parent node ('contenttypes', '0001_initial')
To fix the problem I changed auditlog/migrations/0001_initial.py:
Then the problem is gone. Could this be changed in the codebase?
The text was updated successfully, but these errors were encountered: