You have 17 unapplied migrations. Your project may not work properly until you apply the migrations.

Опубликовано: 10 Март 2026
на канале: CodeShika
11,864
257

You have 17 unapplied migrations. Your project may not work properly until you apply the migrations. ,    • You have 17 unapplied migrations. Your pro...  . You have 17 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.

In this tutorial, you will learn how to fix the Django's unapplied migrations warning. This warning comes when we didn't apply the migrations for the Django's default apps : admin, auth, contenttypes, sessions. The default apps has some migrations for its required database tables.
So, before running our project, we should create database tables for the apps. That is, we need to run the 'python manage.py migrate' command. Then, the project will run without giving the warning.

Commands Used:

1. python manage.py migrate
3. python manage.py runserver

Watch my recent tutorial here.

#7 Django tutorials | What does first migrate command run do without running any makemigrations
   • #7 Django tutorials | What does first migr...  

Watch all my Django Oscar tutorials for django-oscar version 2.1 from following series

Django Oscar 2.1 tutorials
   • Django Oscar 2.1 tutorials  

Watch my Django Oscar tutorials for django-oscar version 1.6 from following series

Django Oscar E-commerce tutorials for beginners in English
   • Django Oscar E-commerce tutorials for begi...  

Watch my django-oscar-accounts package tutorials i.e. a managed account for django-oscar here:

Django Oscar Accounts 2.1 tutorials for beginners
   • Django Oscar Accounts 2.1 tutorials for be...  

Watch my Django Ajax tutorials in the following series

Django Ajax tutorials for begginers
   • Django Ajax tutorials for begginers  

Also, watch

Django tutorials
   • Django tutorials  

Friends, if you like this tutorial, please hit the like button and share, and if you want more tutorials like this please subscribe to my channel CodeShika.

#django_warning
#unapplied_migrations
#CodeShika