DevOps | Cloud | Analytics | Open Source | Programming

How To Visualize the Django Models ?

In this post, we will see - How To Visualize the Django Models. Follow the steps explained in the below video -

sudo apt-get install -y graphviz libgraphviz-dev pkg-config

pip install pygraphviz

pip uninstall pyparsing

pip install -Iv

pip install pydot
pip install django-extensions

python graph\_models -e -g -l dot -o model1.png core 
python graph\_models -a -g -o model2.png