背景:
python3.6
django=2.2
ValueError: Dependency on app with no migrations: apps
解决方法:
重新执行makemigrations,为apps应用程序创建迁移。
python manage.py makemigrations apps
执行migrate
python manage.py migrate
背景:
python3.6
django=2.2
ValueError: Dependency on app with no migrations: apps
解决方法:
重新执行makemigrations,为apps应用程序创建迁移。
python manage.py makemigrations apps
执行migrate
python manage.py migrate