0
私はdjangoプロジェクトとPHPプロジェクトで使用されているデータベースを持っています。だから私は同じデータベースを使用する別の別のジャンゴプロジェクトを追加しようとしています。同じデータベースを使用する2つのDjangoプロジェクト
System check identified no issues (0 silenced).
Unhandled exception in thread started by <function wrapper at 0x7fcedb0338c0>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 117, in inner_run
self.check_migrations()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 163, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 20, in __init__
self.loader = MigrationLoader(self.connection)
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 49, in __init__
self.build_graph()
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 299, in build_graph
parent = self.check_key(parent, key[0])
File "/usr/local/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 160, in check_key
raise ValueError("Dependency on app with no migrations: %s" % key[0])
ValueError: Dependency on app with no migrations: apiapp
私のpython manage.pyの移行を実行できるようにされていません - :私はmodels.py書いて、私はそれがエラーを与えているサーバーを実行しようとしたときに、プロジェクトを設定した後
。
このような問題に対処するには
あなたが見たことがありますか:https://code.djangoproject.com/ticket/23366 – Nevertheless