Is it possible to generate a diagram of an entire Django webapp?

djq picture djq · May 1, 2013 · Viewed 23.5k times · Source

Is it possible to generate a diagram of an entire Django site? For example, to understand the model/database structure I use graphViz which is extremely useful for keeping track of the model structure, and very useful for discussions.

I was curious if something similar existed for the complete Django site so that urls/models/views/templates could all be represented graphically. I don't quite know what that would look like but am curious if any tool exists to do this.

This would programmatically generate a diagram showing the code flow between different parts of the site.

Answer

Jordi Cabot picture Jordi Cabot · May 7, 2013

Here you can find a list of Python-to-UML tools. The one called GraphModels in django-extensions (PyPI) may cover what you're looking for.