Skip to main content

Django extension aimed to generate DBML from all models

Project description

Django DBML generator

This app can generate a DBML output for all installed models.

How to install and use?

1. Install the django-dbml package

pip install django-dbml

2. Put django_dbml on your django settings

'...',
'django_dbml',
'...',

3. Run the command to generate a DBML schema based on your Django models

$ python manage.py dbml

To generate DBML for a subset of your models, specify one or more Django app names or models by app_label or app_label.ModelName. Related tables will still be included in the DBML.

Thanks

The initial code was based on https://github.com/hamedsj/DbmlForDjango project

Project details


Download files

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

Source Distribution

django-dbml-0.7.0.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

django_dbml-0.7.0-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page