报错如图:

django执行迁移命令时报错django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

报错原因:迁移命令输入错误:

如图:

django执行迁移命令时报错django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

解决:

django的迁移命令是:

Python manage.py makemigrations