現在、Djangoで簡単なチャットアプリを作成できるサイトをそのままやっていました。
https://qiita.com/cortyuming/items/1caefa0245f4a874382b
このままコピペしていたのですが、settings.pyのところでわからなくなってしまいました。
※上下は省略します。
下の3行を追加しました、
python
1INSTALLED_APPS = [ 2 'django.contrib.admin', 3 'django.contrib.auth', 4 'django.contrib.contenttypes', 5 'django.contrib.sessions', 6 'django.contrib.messages', 7 'django.contrib.staticfiles', 8 'django.contrib.core', 9 'django.contrib.chat', 10 'django.contrib.channels', 11]
コマンドで実行したところ、
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7fa2e5b8b6a8> Traceback (most recent call last): ︙ ローカルのpythonのファイルのエラーが沢山 ︙ ModuleNotFoundError: No module named 'django.contrib.core'
とエラーが出てしまいました。
なぜこのようなエラーが起きるのかご教授よろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/07/27 16:20