Writing Safe Database Migrations
2021-06-02, 15:50–16:35, Main Room

Whether you build Django projects or apps, you won’t get past database migrations. Let me show you some pitfalls, potential problems, and how to write safe ones.


Django’s built-in migration framework is great. And it works tremendously. But that’s only on the surface. Whenever you deploy your code and apply migrations in production, you are about to enter dangerous territory. I will point out common pitfalls and show you ways to avoid them. And with some additional best practices at hand, you will be ready for your next production deployment.

The talk slides are available on Speaker Deck.

Video: https://www.youtube.com/watch?v=q1BlFKXy-BU&ab_channel=DjangoConEurope