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
Metadata
Release files for django-schema-viewer 0.5.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django_schema_viewer-0.5.3.tar.gz | 486.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_schema_viewer-0.5.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 978.8 kB
Release files / django_schema_viewer-0.5.3.tar.gz
| Download URL | django_schema_viewer-0.5.3.tar.gz |
|---|---|
| Size | 486.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5bdaa7cfec0827d1232f1d79f746ea5a7f42bf6abf2359615084acb230b2d1c
|
|
BLAKE2b-256 checksum How to use checksums |
378055f39f2ec3c50fd2f2db8dd7fbc9cf7ade15cf82347a8496023e2e86bb59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Release files / django_schema_viewer-0.5.3-py3-none-any.whl
| Download URL | django_schema_viewer-0.5.3-py3-none-any.whl |
|---|---|
| Size | 492.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6385d74c6e2c5e204fc7b2b8d7d25affe63f9f6b96b03e79e5b094b5012588a
|
|
BLAKE2b-256 checksum How to use checksums |
e87e1203dcdce3fd1fbf6f7924961ba5aed4407cddd4074d784806de3f0242f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.28.1
|
Security for django-schema-viewer 0.5.3
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.