Introduction
Django is a great framework that provides you with a lot of predefined services and workflow to work flawlessly. Django apps are made to make your code more reusable and clean. Django is based on the DRY principle, which stands for "Don't Repeat Yourself."
Unapplied migrations
Django's migrations are a mechanism for you to propagate changes to your models (adding a field, deleting a model, etc.) to your database schema. They're intended to be mostly automated, but you'll need to know when to make migrations, when to run them, and how to deal with frequent issues.
Sometimes while running the Django server, we might face the following warning:
You have unapplied migrations;
your app may not work properly until they are applied.
Run 'python manage.py migrate' to apply them.
To deal with such warnings, first, stop the server by pressing CTRL+C. Then run the following command in command prompt:
python manage.py migrate
Now, when we re-run the server, we will not find any migration warnings.




