Django - Graphical Representation of the Model (ERD)

I am looking for a way to represent my Django project model graphically.

Is there some kind of application that does this ERD (chart)?




Update after @Etienne instructions

Here is an example of how I am finally viewing a PDF representing some models of my django project

$ python manage.py graph_models app1 app2 ... | dot -Tpdf | evince 
  • It actually generates point data with my applications (app1, app2, ...)
  • Transfer result to dot for PDF output
  • Opens output with evince
+48
django diagram erd model
Jul 21 '11 at 13:11
source share
2 answers

If you want to extract the UML diagram from your Django models, you can use the Graph models django-extensions command. Another that does basically the same thing: django-graphviz .

If you want to create your Django models from UML: uml-to-django .

And to create UML, Dia , yED and ArgoUML diagrams

You can also check out this list of tools.

+71
Jul 21 2018-11-11T00:
source share

The best I can think of is Argo UML , which requires you to design manually (and then you can convert UML to Django with this tool )

If you want to do the django - uml conversion (vice versa), try looking at Django To UML

+4
Jul 21 '11 at 13:15
source share



All Articles