raise NodeNotFoundError(self.error_message, self.key, origin=self.origin)
django.db.migrations.exceptions.NodeNotFoundError: Migration jobs.0001_initial dependencies reference nonexistent parent node ('auth', '0012_alter_user_first_name_max_length')
Here is the solution
pip uninstall Django
/Lib/site-packages
, delete itpycache
folders in the project, delete files under migrations
and keep init .py
.