Skip to main content

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_schema_browser-0.1.0-py3-none-any.whl (39.9 kB view details)

Uploaded Python 3

File details

Details for the file django_schema_browser-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_schema_browser-0.1.0-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

Hashes for django_schema_browser-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e571dba5bff4c87b2ee3f4b88fc5711f362c170e5c516e2c9b12b8acdda3cdf7
MD5 48cb20a5357b5161b6c1af1aa221793e
BLAKE2b-256 6b7301f6aa07e92ac3d63bb2ba84956071af17d2606189df7d39fbb53b7ea8cf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page