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.10.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

django_dbml-0.10.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file django_dbml-0.10.1.tar.gz.

File metadata

  • Download URL: django_dbml-0.10.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for django_dbml-0.10.1.tar.gz
Algorithm Hash digest
SHA256 0d828af7dcb57ece5aa8db6284ba427f4ee8c1b2822e64e7802757f242268b49
MD5 65ef66ad6efae9a7f02a52b02472e1eb
BLAKE2b-256 0c40d136e09d81044b69b6655ddece1a884f2d99f32709137d289a1ae82ad496

See more details on using hashes here.

File details

Details for the file django_dbml-0.10.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_dbml-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3617df6d566866415587b607d11180efeb0ccc4d2881ac5b2271fe8a44801259
MD5 53141cd0445da46b74ead5b0f1d25084
BLAKE2b-256 83c4a826d72ba1b5a84e3040b828dea4938888d117f45be9b076083702b10dfa

See more details on using hashes here.

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