Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Generate UML diagram of django app models
apt-get install python-pygraphviz
pip install django-extensions
# add 'django_extensions' to INSTALLED_APPS in settings.py
python manage.py graph_models trees -o test.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment