📌  相关文章
📜  django.core.exceptions.ImproperlyConfigured: SECRET_KEY 设置不能为空 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:57.987000             🧑  作者: 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.