django-extensionsにそんな機能が入っていた。 ubuntuで図を描いてみる例。 必要なもの graphviz django-extensions requirements.txt pygraphviz django-extensions install sudo aptitude install graphviz graphviz-dev pip install -r requirements.txt run python manage.py graph_models -a -g -o my_project.png
![djangoでmodelの図を描いて見る。 - podhmoの日記](https://cdn-ak-scissors.b.st-hatena.com/image/square/46f55ff0f2d272bcf2d240373380726c4ce30261/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fp%2Fpodhmo%2F20110523%2F20110523194032.png)