Skip to content

Instantly share code, notes, and snippets.

@nicobytes
Created December 18, 2017 15:06
Show Gist options
  • Save nicobytes/1497b938e2a902ee2bac979d2a255df1 to your computer and use it in GitHub Desktop.
Save nicobytes/1497b938e2a902ee2bac979d2a255df1 to your computer and use it in GitHub Desktop.
generate image
apt-get update
apt-get install graphviz
pip install pygraphviz
pip install pyparsing==1.5.7
pip install pydot
python manage.py graph_models --pydot -a -g -o {{project}}-dbmodel.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment