This Django South command doesn't get much press, but I submitted an upstream enhancement to make graphmigrations output a bit prettier. It has been integrated and should make an appearance in the eventual 1.0 release. The differences:

  • Colored nodes on a per-app basis
  • Dependencies between migrations of different apps are given heavier line weights
  • dot is instructed to try and keep migrations from one app in a straighter line, giving better visual grouping
  • The text used in the nodes is wrapped and underscores are converted to spaces

You can see the results below for the archweb project and its current suite of migrations. I've included links to the full size PNG and SVG versions as well. To generate a graph for your own Django project, simply run ./manage.py graphmigrations | dot -T png > migrations.png.

graphmigrations before graphmigrations after

Old: PNG, SVG

New: PNG, SVG