django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

报错现象

django 启动的时候报错

django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

报错解决

记不清是我有毛病的在 manage.py 里面导入了这个没有用的东西还是自动生成的

很明显这行代码完全用不到. 既然报错出在这里删掉即可解决

django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

上一篇:为什么Java字符串是不可变对象?


下一篇:Luogu P4323 [JSOI2016]独特的树叶