Digging Into Django's Migrations
summary
Walks through the new Django 1.7 migration framework: a rewritten system (about 5% code from South), funded by a Kickstarter raising ~£18,000, that provides a schema editor, field deconstruct hooks, declarative operations, a dependency graph, an autodetector and optimizer. Covers concrete limits and behaviors: SQLite forces table-copy emulation, proxy models and circular foreign keys need manual work, third‑party fields must implement deconstruct, migrations run per database, and test setup can be roughly 3× slower because of new persistence handling.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 2:00Conclusion
- 2:36South
- 8:19South Structure
- 13:20Django Migrations
- 18:47Operations and State
- 19:43Migrations
- 21:17Scheme Editor
- 23:22RC Construct
- 24:55Graph
- 27:40Autodetect
- 30:30Optimizer
- 32:45Migration Format
- 35:58What Went Wrong
related talks
23mBeyond the Basics of Migrations
21mMigrating to Success: Unleashing the Power of Django Migrations
33mPeaceful Django Migrations with Efe Öge
27mMigrating legacy data to your Django project
01h 06mEffective Django
24mEvolving Django: What We Learned
24mDjango as a Database Documentation Tool: The Hidden Power... with Ryan Cheley
24mOf Django, PostgreSQL schemas, and your multi-million dollar idea
