我阅读了本教程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.
等
但是报告此错误。