Visualizes a DB schema based on Django models
Project description
django-schema-viewer
Visualizes a DB schema based on Django models.
Installation
pip install django-schema-viewer
Usage
-
Install the package
-
Add
schema_viewerto yourINSTALLED_APPSsettings like this:
INSTALLED_APPS = [
...,
'schema_viewer',
...,
]
- Add
schema_viewer.urlsto mainurls.py:
from django.urls import path, include
urlpatterns = [
...,
path('schema-viewer/', include('schema_viewer.urls')),
...,
]
- Run the project
python manange.py runserver
Optional settings
SCHEMA_VIEWER = {
'apps': [
'contenttypes',
'my_app',
],
'exclude': {
'auth': ['User'],
'my_app': ['SomeModel'],
},
}
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_schema_viewer-0.5.3.tar.gz
(486.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_schema_viewer-0.5.3.tar.gz.
File metadata
- Download URL: django_schema_viewer-0.5.3.tar.gz
- Upload date:
- Size: 486.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5bdaa7cfec0827d1232f1d79f746ea5a7f42bf6abf2359615084acb230b2d1c
|
|
| MD5 |
58f633f59042957f5503c0ae74a47ce4
|
|
| BLAKE2b-256 |
378055f39f2ec3c50fd2f2db8dd7fbc9cf7ade15cf82347a8496023e2e86bb59
|
File details
Details for the file django_schema_viewer-0.5.3-py3-none-any.whl.
File metadata
- Download URL: django_schema_viewer-0.5.3-py3-none-any.whl
- Upload date:
- Size: 492.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6385d74c6e2c5e204fc7b2b8d7d25affe63f9f6b96b03e79e5b094b5012588a
|
|
| MD5 |
ef5e097032c2118d884f354e6ebdedd5
|
|
| BLAKE2b-256 |
e87e1203dcdce3fd1fbf6f7924961ba5aed4407cddd4074d784806de3f0242f5
|