Creating Migrations - Django Web Development Tutorial 8

Опубликовано: 06 Июль 2026
на канале: TekStark
4,559
39

Welcome to another tutorial of Django web development tutorial series.

In this tutorial, we are creating migrations of our model. Migration files keep track of all changes we do database schema.

Command to create migration:
python manage.py makemigrations (App Name)
Ex: python manage.py makemigrations MovieReview

Command to review migration and check database query:
python manage.py sqlmigrate (App name) (migration file number)
Ex: python manage.py sqlmigrate MovieReview 0001

Command to apply migration:
python manage.py migrate

These 3 commands are very important for migrations.

Download source code of the project that we created in this tutorial from here:
https://drive.google.com/open?id=1KHX...

You can contact me at my email.
Email: [email protected]

If you have any problems or concerns then feel free to post your comment below I will be happy to help you as soon as I can. Otherwise, see you in next tutorial. Thanks for watching.


Subscribe this channel for more videos on Django development tutorial.