0
モジュール式設定ファイルを作成しようとしています。モジュール式django設定ファイルImportError
なぜそれがこの作品ということである。このラインで
project/
settings.py
other.py
をsettings.py
config_module = __import__('other', globals(), locals())
に以下ははImportError上げながら:この行では
project/
settings.py
config/
other.py
をsettings.py:
config_module = __import__('config.other', globals(), locals())
configディレクトリに '__init __。py'がありませんか? –