Generate .dia diagram of your django project's models
Project description
Goals
Sometimes you need generate a database diagram for your Django project. django-extensions does this well, but drops non-editable file such as 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
./manage.py make_diagram -e -o scheme my_app1 my_app2
This will produce file scheme.dia in your project directory.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
django_dia-0.3.3-py3-none-any.whl
(10.3 kB
view hashes)
Close
Hashes for django_dia-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fc57263c110dc6317a3e3e1a00a399d0c29df486f640d3318042e795c06a9c5 |
|
MD5 | 1a8b8262d87e5f861ab4c794ea78ca7a |
|
BLAKE2b-256 | f3014299e383d2411926f7af43355b9f3a913bdfac614c1a0a54bc6abef14291 |