[Solved] You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for…

Create a new Django project using Python manage When the PY runserver command runs, you will be prompted

You have 18 unapplied migration(s). Your project may not work properly until you
apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run ‘python manage. py migrate’ to apply them. error

The last line of information prompts you to run Python manage.Py migrate to apply them

Solution: Ctrl + C to end the service, execute the command Python manage.py migrate

Similar Posts: