Django Day 3- Migrate Django run server To Apply Unapplied Migration

Опубликовано: 22 Февраль 2025
на канале: 2klearners
4,429
35

You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, AUTH, content types, sessions.

To Fix Unapplied Migration:

Step 1: py manage.py migrate
Step 2: Re-Run the Command " py manage.py runserver"

Afterwards:

System check identified no issues (0 silenced).
February 20, 2021 - 20:16:54
Django version 3.1.6, using settings 'python.settings'
Starting development server at http://127.0.0.1:8000/