Skip to content

Instantly share code, notes, and snippets.

@nelsonsequiera
Created October 30, 2018 09:46
Show Gist options
  • Save nelsonsequiera/4b3c198dbae6fca692b6b20e63e94341 to your computer and use it in GitHub Desktop.
Save nelsonsequiera/4b3c198dbae6fca692b6b20e63e94341 to your computer and use it in GitHub Desktop.
packages to install to get django model graph
apt-get update
apt-get install graphviz
apt-get install graphviz libgraphviz-dev graphviz-dev pkg-config
pip install pygraphviz
python manage.py graph_models --pygraphviz -a -g -o leads.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment