Bhuvnesh Sharma
SDE 1 @Zelthy | Django core contributor | DSF member | GSoC'23 mentee , GSoC'24 mentor @Django
Session
Ever wondered how Django magically updates your database when you change your models? In this talk, we’ll explore what really happens behind the scenes—from detecting model changes to generating migration files, and finally applying those changes to your database.
Even if you're not a Django user, this talk offers a clear and engaging look at how Django handle schema changes safely. We'll walk through Django’s internal components like the migration graph, loader, autodetector, optimizer and executor. You'll leave with a deeper appreciation for how Django abstracts away complexity, and how similar ideas appear across frameworks.
Whether you're new to Django or an experienced user, this talk will help you understand migrations not just as files—but as a powerful engine that keeps your data model in sync with your code.