Thursday, August 30, 2012

Graph of App Model Django

Generate App Model diagram/graph of you Django app -

Its really powerful -  here is the quick guide on the commands you can use with Django-extensions:

To generate the model, follow below installation steps –

sudo pip install django-extensions

another alternative to get it install using below command

brew install graphviz

(graphviz is graph visualization open source software by AT&T) 

sudo pip install pygraphviz

add Django-extensions in settings file of your project


And you are ready to get app model graph, run following command,

$ ./ graph_models -a -g -o my_project_visualized.png


No comments:

Post a Comment