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/5b1ee73e-b8cc-4542-8d80-9ef33c25a4cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to