Django ImportError: No module named 'webapp_credentials'

Django ImportError: No module named 'webapp_credentials'

我是运行这个代码:

https://github.com/cndreisbach/call-for-service/blob/master/docs/src/development.md

当我 运行 这部分代码在我的 Vagrant shell 中时:

python3 ./cfs/manage.py migrate --settings=cfs.settings.local

还给我说没有"ImportError: No module named 'webapp_credentials'"

这是错误:

Traceback (most recent call last):
  File "./cfs/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.5/dist-packages/django/core/management/__init__.py", line 351, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.5/dist-packages/django/core/management/__init__.py", line 303, in execute
    settings.INSTALLED_APPS
  File "/usr/local/lib/python3.5/dist-packages/django/conf/__init__.py", line 48, in __getattr__
    self._setup(name)
  File "/usr/local/lib/python3.5/dist-packages/django/conf/__init__.py", line 44, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/local/lib/python3.5/dist-packages/django/conf/__init__.py", line 92, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 985, in _gcd_import
  File "<frozen importlib._bootstrap>", line 968, in _find_and_load
  File "<frozen importlib._bootstrap>", line 957, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 697, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/vagrant/cfs/cfs/settings/local.py", line 1, in <module>
    from .base import *
  File "/vagrant/cfs/cfs/settings/base.py", line 15, in <module>
    from webapp_credentials import creds
ImportError: No module named 'webapp_credentials'

webapp_credentials 是 python 的一个模块 OS 我该如何解决这个问题?

webapp_credentials.py 开启。git忽略,这就是迁移找不到它的原因。

您需要此文件,该文件未在您 link 的 git 存储库中进行版本控制。