Last Updated: February 25, 2016
·
3.344K
· gamebit07

Visualizing your django models

Install django-extensions

pip install django-extensions    

Go to your project root and run the following:

./manage.py graph_models -a -g -o my_project.png

Make sure you have libgv-python, graphviz, graphviz-dev already installed.