No project description provided
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_viewer
to yourINSTALLED_APPS
settings like this:
INSTALLED_APPS = [
...,
'schema_viewer',
...,
]
- Add
schema_viewer.urls
to 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
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.4.1.tar.gz
(485.7 kB
view details)
Built Distribution
File details
Details for the file django_schema_viewer-0.4.1.tar.gz
.
File metadata
- Download URL: django_schema_viewer-0.4.1.tar.gz
- Upload date:
- Size: 485.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 824b81f443d7d8e8ae39bfd3dd412b8337807701dab3a94bc46248728b14a521 |
|
MD5 | b199f6ee97a728e5344610b4d57a0e42 |
|
BLAKE2b-256 | b5b2902cc8671673b2860325ea590c5a4bcf8454b7ea3d90e913bf58f4ddc818 |
File details
Details for the file django_schema_viewer-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: django_schema_viewer-0.4.1-py3-none-any.whl
- Upload date:
- Size: 492.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a111c8e6aae4c6b154122580e1cea8c9ae3ac5399a81e5c4a57f534151d24cca |
|
MD5 | f30a47bbe471160579d97f0282244ff2 |
|
BLAKE2b-256 | 66a377a57618fe3a3c6f208b6c8ce612f9b484a0faab55719bd4f3bbf4206fb7 |