toofishes.net

Django South graphmigrations

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:

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

Tags

See Also