Did you try running makemigrations first? ./manage.py makemigrations
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Akhi Sent: Monday, April 23, 2018 1:38 AM To: Django users Subject: django.db.migrations.exceptions.NodeNotFoundError while upgrading django I am upgrading my django project from django1.5 to django1.11.10. while upgrading when I run ./manange.py migrate I am getting django.db.migrations.exceptions.NodeNotFoundError django.db.migrations.exceptions.NodeNotFoundError: Migration account.0004_auto_20180419_1309 dependencies reference nonexistent parent node (u'admin', u'0003_advertisements_alignedcourses_api_integration_appreciation_certificate_company_company_types_contrib') I could not find any migration files from my project and I followed some of the solution which I found in internet. django.db.migrations.exceptions.NodeNotFoundError Migration authentication nonexistent parent node<https://stackoverflow.com/questions/49344433/django-db-migrations-exceptions-nodenotfounderror-migration-authentication-nonex> Can't get rid of "nonexistent parent node" in django 1.11<https://stackoverflow.com/questions/45124207/cant-get-rid-of-nonexistent-parent-node-in-django-1-11> I reinstalled django.Deleted all .pyc files. deleted all migrations files. Still I am getting the same error.Please help me and can you please explain why it is happening? I have attached my project structure. [https://lh3.googleusercontent.com/-T8myMeiuk7E/Wt1-7clrS6I/AAAAAAAAFMA/H4HvwfJCjjYrBgJbXOpuduuuIZ0r1q2gACLcBGAs/s1600/Untitled%2BDiagram.jpg]<https://lh3.googleusercontent.com/-T8myMeiuk7E/Wt1-7clrS6I/AAAAAAAAFMA/H4HvwfJCjjYrBgJbXOpuduuuIZ0r1q2gACLcBGAs/s1600/Untitled%2BDiagram.jpg> ************************************ admin/apps.py class AdminConfig(AppConfig): name = 'apps.admin' label = 'admin_app' account/apps.py class AccountConfig(AppConfig): name = 'account' label = 'account_app' and I have mentioned meta properties for all the admin app models. class Meta: ''' Meta properties for this model ''' app_label = 'admin_app' -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com<mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com<mailto:django-users@googlegroups.com>. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0d5e63a8-0281-4e53-ab18-8f56030b2787%40googlegroups.com<https://groups.google.com/d/msgid/django-users/0d5e63a8-0281-4e53-ab18-8f56030b2787%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/be2f4ffa5fe245ad8217483b00c4f68c%40ISS1.ISS.LOCAL. For more options, visit https://groups.google.com/d/optout.