ValueError: Dependency on app with no migrations: apps

created at 07-17-2021 views: 2

environment

  • python3.6
  • django=2.2

In case of accidental situation, the file in migrations prompts an error:

ValueError: Dependency on app with no migrations: apps

Solution

Re-execute makemigrations to create migrations for apps.

python manage.py makemigrations apps

Execute migrate

python manage.py migrate
Please log in to leave a comment.