Created
April 24, 2013 09:00
-
-
Save arnaudbos/5450768 to your computer and use it in GitHub Desktop.
Django models visualisation graphs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install graphviz | |
pip install django-extensions | |
pip install pygraphviz | |
# add 'django_extensions' to INSTALLED_APPS | |
# all models from INSTALLED_APPS (django too) | |
./manage.py graph_models -a -g -o my_project.png | |
# just two apps: emailing and localization | |
./manage.py graph_models -g -e -l dot -o my_project.png emailing localization |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment