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 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/f3165ac1-87c3-4205-b22e-c5cab0b6bbf8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to