Skip to main content

Goals

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.

Installation

pip install django-dia

Using

Add django_dia to your INSTALLED_APPS:

INSTALLED_APPS = (
    #...
    'django_dia',
)

And run

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

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

Compatibility

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

Metadata

Release files for django-dia 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for django-dia 0.5.0
File Interpreter ABI Platform Actions
django_dia-0.5.0-py3-none-any.whl Python 3 none any Details for django_dia-0.5.0-py3-none-any.whl

Release files / django_dia-0.5.0-py3-none-any.whl

Download URL django_dia-0.5.0-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0c57e783f8d2017a135fd090014911b8bc29ccc353ef85231068f6db9f7a4a3
BLAKE2b-256 checksum
How to use checksums
00c1f661c626e2a39e1ad2d591f671d32adc4e19915c7b1906f760d7f7a48600
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for django-dia 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page