Browse Django apps, models, fields, and reverse relations from a dedicated frontend.
Project description
django-schema-browser
django-schema-browser ajoute une interface web pour introspecter les apps Django, leurs modeles, champs et relations inverses.
Installation
pip install django-schema-browser
Configuration
Dans settings.py:
INSTALLED_APPS = [
# ...
"django_schema_browser",
]
Dans urls.py du projet:
from django.urls import include, path
from django.conf.urls.i18n import i18n_patterns
urlpatterns = [
path("i18n/", include("django.conf.urls.i18n")),
]
urlpatterns += i18n_patterns(
path("schema/", include("django_schema_browser.urls")),
)
Vues disponibles
- Home: liste des apps detectees
- Detail app: liste des modeles de l'app
- Detail modele: champs + relations inverses
Build package (PyPI)
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
Upload TestPyPI:
python -m twine upload --repository testpypi dist/*
Upload PyPI:
python -m twine upload dist/*
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
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_browser-0.1.1.tar.gz.
File metadata
- Download URL: django_schema_browser-0.1.1.tar.gz
- Upload date:
- Size: 47.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a58a228fb952edb4d85dbc79aed54ac203f19416b2f19d412fbd2f3360fbd69
|
|
| MD5 |
2702bbfce3d9b03290dbcf836fab2e11
|
|
| BLAKE2b-256 |
d11600228902bc24c71a86f1df6a8ef05c70248ecac30cfdddecbc14060cc528
|
File details
Details for the file django_schema_browser-0.1.1-py3-none-any.whl.
File metadata
- Download URL: django_schema_browser-0.1.1-py3-none-any.whl
- Upload date:
- Size: 39.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
681e3233856e0031f5f9acf3d13472bcd31fa646489bd3d710c256a55d82ef7d
|
|
| MD5 |
f01034587aeec16c3db167ee5c125ef8
|
|
| BLAKE2b-256 |
daf1478f5acb1ac590c0494fd8e7ce4bf0c3c22df13a2069deaab81f38c8b04e
|