Django Migrations 101: Course Summary
This is an overview of everything you’ve learned about migrations.
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
00:00
You’ve covered quite a bit of ground in these videos, so let’s sum up what you’ve seen. You’ve seen what migrations are and the problems they solve; how they can avoid you having to learn to write SQL code and stick to writing Python code instead; how to create migrations using manage.py makemigrations
; how to apply migrations with manage.py migrate
; how changing a model in your Django code means all you have to do is to create and apply a new migration; how to list migrations with manage.py showmigrations
; how to unapply migrations by reverting back to an earlier migration;
00:51 and how to name migrations, making coming back to your code later easier as they’ll have a descriptive name rather than merely a timestamp.
01:02 I hope you’ve enjoyed this video and we’ll see you soon at Real Python.
Daniel on April 7, 2019
Great series of videos. Hope to see more Django video series in the future.
Indran Naidoo on April 9, 2019
Succinct and relevant…no fluff!!!
Edgar Isai on May 10, 2019
Like it, you went straight to the point.
Ghalyah AlAnsari on May 24, 2019
Great, thank you!
Hizakakkun on May 31, 2019
Thank you
sion on July 29, 2019
Good stuff, well presented thank you
Silver on Dec. 6, 2019
Nice Course!! Thanks!
akshay on Jan. 10, 2020
To the point. Lessons are small enough that we can use them as references as well.
Dion Johnson on Feb. 8, 2020
Thank you, great course.
sureshkumar on April 7, 2020
Hi,
How to overcome common errors while applying migrations like table already exists ,dependent migration required..etc
tsusadivyago on May 11, 2020
naming migrations, show migration and unapply migration were plus for me
KatMac on July 30, 2021
Awesome. Please make more of these type of video: short and sweet.
rodrimedeiros on Feb. 22, 2022
Really nice course. For me two important things that I learned from this course that I consider a senior behavior are:
1 - makemigrations per app - thinking for example like commits in git where you try to change only one thing and commit in order to make easy go one step back. Same thinking for migrations.
2 - define a descriptive names for migrations - it’s nice to look to the migration and know what is going on. And where I have to go if I wanna to go back to a previous schema.
And about you guys, What did you consider an important learning in this course?
Become a Member to join the conversation.
Anonymous on March 31, 2019
Nice. Sweet and Short. Need more of these on Django