Skip to main content

Django-db-schema-renderer

Overview

This is a django app to render db schema (ER diagram), of selected models or apps inside django admin panel

Requirements

  • Python 3.7+
  • Django 3.1+
  • django-extensions 3+
  • pygraphviz 1.7+

For successful install of pygraphviz you need to have on your host graphviz installed. you can find official docs here On apple silicon this can be achieved by running command:

brew install graphviz
pip3 install \
    --global-option=build_ext \
    --global-option="-I$(brew --prefix graphviz)/include/" \
    --global-option="-L$(brew --prefix graphviz)/lib/" \
    pygraphviz

Installation

  1. Install using pip...

    pip install django-db-schema-renderer

  2. Add django_db_schema_renderer to your INSTALLED_APPS setting, before django.contrib.admin(make sure you have django-extensions also added)

    INSTALLED_APPS = [
        'django_db_schema_renderer',
        'django.contrib.admin',
        ...
        'django-extensions'
    
    ]
    
  3. Edit the {project_dir}/urls.py module in your project:

    from django_db_schema_renderer.urls import schema_urls
    
    urlpatterns = [
    ...
     path("db-schema/", include((schema_urls, "db-schema"))),
    ...
    ]
    

Metadata

Release files for django-db-schema-renderer 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-db-schema-renderer 0.1.2
File Size Uploaded Provenance Actions
django_db_schema_renderer-0.1.2.tar.gz 4.6 kB Without provenance Details for django_db_schema_renderer-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-db-schema-renderer 0.1.2
File Interpreter ABI Platform Actions
django_db_schema_renderer-0.1.2-py3-none-any.whl Python 3 none any Details for django_db_schema_renderer-0.1.2-py3-none-any.whl

Total release size: 10.4 kB

Release files / django_db_schema_renderer-0.1.2.tar.gz

Download URL django_db_schema_renderer-0.1.2.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0337e95656e1697056f140e6a5237ea965168aa99aa91f17dbc50331edbd5be8
BLAKE2b-256 checksum
How to use checksums
5ae8766016aecb62c4a5461d853695f95bcf7ded0dfb2a5ffbaf569c4bb8ab16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.11.0 Darwin/22.3.0

Release files / django_db_schema_renderer-0.1.2-py3-none-any.whl

Download URL django_db_schema_renderer-0.1.2-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80108e744d8fb5a8fe33ce893b03a83366c70cff1481647d6f58dabcfe53cc54
BLAKE2b-256 checksum
How to use checksums
43b9ec64900dbe95a6d8e1340e82e5e6f109dea3434cb10174404a1557f52665
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.11.0 Darwin/22.3.0

Security for django-db-schema-renderer 0.1.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page