Visualize Django models as an interactive ERD diagram in the browser
Project description
django-lumen
Visualize your Django models as an interactive ERD diagram in the browser. No external diagram library — the diagram is pure vanilla JS + SVG rendered at request time from the live Django model registry.
Requirements
- Python 3.10+
- Django 3.2+
Installation
pip install django-lumen
Setup
- Add
django_lumentoINSTALLED_APPS:
# settings.py
INSTALLED_APPS = [
...
"django_lumen",
]
- Mount the URLs in your root
urls.py:
# urls.py
from django.urls import path, include
urlpatterns = [
...
path("lumen/", include("django_lumen.urls")),
]
- Run migrations:
python manage.py migrate
- Start the development server and open http://localhost:8000/lumen/.
Access control
The diagram is only accessible to users with is_active = True and is_staff = True. Other users are redirected to the login page.
Default excluded apps
The following apps are hidden by default: auth, admin, sessions, contenttypes, django_lumen. Users can change this via the Manage excluded apps settings page or by right-clicking an app chip in the sidebar.
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_lumen-0.2.0.tar.gz.
File metadata
- Download URL: django_lumen-0.2.0.tar.gz
- Upload date:
- Size: 44.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1a37722ce74aaaef8ca2c8398970a6e5b7f8d0a6178aa106bcd2ea40b8c7581
|
|
| MD5 |
03d292016e02926a88c41da071dfb468
|
|
| BLAKE2b-256 |
fc71887ab449cf22a101b95369a8c670cb1eef59a1422a1c3217365a0365ac14
|
File details
Details for the file django_lumen-0.2.0-py3-none-any.whl.
File metadata
- Download URL: django_lumen-0.2.0-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
745f9c88911d17ff50eb996c8dfdff868c5e2338b326d515500ab56810bd3c3d
|
|
| MD5 |
e547ac917768b3cce68344ce6def1e44
|
|
| BLAKE2b-256 |
dd4a57a47733ebbcc1cdc544303878184f4ceab2e8bbf85891afc98fc62ef8f3
|