📌  相关文章
📜  django.core.exceptions.improperlyconfigured:secret_key 设置不能为空. - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:01.353000             🧑  作者: Mango

代码示例2
I had the same error and it turned out to be a circular dependency between a module or class loaded by the settings and the settings module itself. In my case it was a middleware class which was named in the settings which itself tried to load the settings.