Hi, Do you want to copy and paste your error message? (I assume it's similar, but it might have some better clues.)
My guess you have a migration that's referencing a migration file that was deleted or something. Collin On Thursday, December 22, 2016 at 7:33:48 PM UTC-6, skerdi wrote: > > I have the same problem, but with an existing project. I've deleted > migrations and the database and shows the same problem. > I have 2+ hours searching but I haven't fixed it. > > On Wednesday, June 1, 2016 at 12:58:55 AM UTC+2, Bose Yi wrote: >> >> When new project start, commands makemigrations and runserver get >> error message. I do not know what I did wrong. I cannot find solution >> to fix it. Please any suggestion ? >> >> >> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ >> >> System check identified no issues (0 silenced). >> >> Unhandled exception in thread started by <function wrapper at 0x0391B9B0> >> >> Traceback (most recent call last): >> >> File "C:\Python27\lib\site-packages\django\utils\autoreload.py", line >> 229, in wrapper >> >> fn(*args, **kwargs) >> >> File >> "C:\Python27\lib\site-packages\django\core\management\commands\runserver.py", >> >> line 116, in inner_run >> >> self.check_migrations() >> >> File >> "C:\Python27\lib\site-packages\django\core\management\commands\runserver.py", >> >> line 168, in check_migrations >> >> executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS]) >> >> File "C:\Python27\lib\site-packages\django\db\migrations\executor.py", >> line 19, in __init__ >> >> self.loader = MigrationLoader(self.connection) >> >> File "C:\Python27\lib\site-packages\django\db\migrations\loader.py", >> line 47, in __init__ >> >> self.build_graph() >> >> File "C:\Python27\lib\site-packages\django\db\migrations\loader.py", >> line 318, in build_graph >> >> _reraise_missing_dependency(migration, parent, e) >> >> File "C:\Python27\lib\site-packages\django\db\migrations\loader.py", >> line 288, in _reraise_missing_dependency >> >> raise exc >> >> django.db.migrations.graph.NodeNotFoundError: Migration >> auth.0007_user_following dependencies reference nonexistent parent node >> (u'account', u'0003_contact') >> > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/31ba0cc8-a56b-41c3-a5ec-7991b1bffb57%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

