Apps aren't loaded yet.
来源:5-5 xadmin全局配置

葡萄灬苹果
2019-06-19
Traceback (most recent call last):
File “D:/pycharm/Py-Porject/mxonline/manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “C:\Users\lubber\Envs\mxonline\lib\site-packages\django\core\management_init_.py”, line 350, in execute_from_command_line
utility.execute()
File “C:\Users\lubber\Envs\mxonline\lib\site-packages\django\core\management_init_.py”, line 342, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “C:\Users\lubber\Envs\mxonline\lib\site-packages\django\core\management_init_.py”, line 176, in fetch_command
commands = get_commands()
File “C:\Users\lubber\Envs\mxonline\lib\site-packages\django\core\management_init_.py”, line 71, in get_commands
for app_config in reversed(list(apps.get_app_configs())):
File “C:\Users\lubber\Envs\mxonline\lib\site-packages\django\apps\registry.py”, line 137, in get_app_configs
self.check_apps_ready()
File “C:\Users\lubber\Envs\mxonline\lib\site-packages\django\apps\registry.py”, line 124, in check_apps_ready
raise AppRegistryNotReady(“Apps aren’t loaded yet.”)
django.core.exceptions.AppRegistryNotReady: Apps aren’t loaded yet.
Process finished with exit code 1
老师你好,我是跟着视频里面的教程走的,在operation/init.py中添加default_app_config = "operation.apps.OperationConfig"这段后,就抛出错误了。这个怎么破?
1回答
-
Ethreal
2019-06-20
012019-06-20
相似问题
回答 3