Beyond the Basics of Migrations
December 15, 2023
24 min
Free
Description
This talk delves into the inner workings of Django migrations, exploring their core components, common operations, and advanced use cases. It covers how Django generates migrations, how to interpret them, and when and how to manually edit them for tasks like renaming fields, altering field attributes, and performing data migrations. The presentation also touches upon best practices for creating and managing custom migrations, including the use of empty migrations for data cleanup and the importance of reversible migrations.