In my latest article for RealPython I share three ways to tackle one of the most challenging tasks involving Django migrations: moving a model from one Django app to another.
The article covers some exotic migration operations and many of the built-in migration CLI commands such sqlmigrate
, showmigrations
and sqlsequencereset
. In the article I also demonstrate important migrations concepts such as reversible migrations, migration plans and introspection.
Read "How to Move a Django Model to Another App" on RealPython ≫
