Skip to main content

Generate .dia diagram of your django project's models

Project description


Sometimes you need to generate a database diagram for your Django project. django-extensions does this well, but drops non-editable file like PNG. Even when you use SVG format you’ll waste much time with bunch of objects that are not stitched together: when you move a table, you’ll need to move all connected arrows and captions.

There was a time when you could generate .dia file directly with django-extensions. But dia support was dropped.


pip install django-dia


Add django-dia to your INSTALLED_APPS:


And run

./ make_diagram -a -e -o scheme  # all apps in project
./ make_diagram -e -o scheme my_app1 my_app2  # specific apps

This will produce file scheme.dia in your project directory.


Django >= 1.8 supported. In long term set of supported versions will be in parity with official django support.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-dia, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size django_dia-0.4.1-py2.py3-none-any.whl (10.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page