如何在AWS上使用python-decouple?

时间:2019-01-26 13:59:29

标签: python amazon-ec2 webdeploy decouple

我阅读了本教程How to Use Python Decouple

但是python-decouple在我的AWS应用程序上不起作用。

.items()

我的环境变量带有Command failed on instance. Return code: 1 Output: (TRUNCATED)...hon3.6/site-packages/decouple.py", line 70, in get raise UndefinedValueError('{} not found. Declare it as envvar or define a default value.'.format(option)) decouple.UndefinedValueError: SECRET_KEY not found. Declare it as envvar or define a default value.

但是报告此错误。

0 个答案:

没有答案