Highlights
- CodeLens above every model class — shows field/relation counts and an "Open ER diagram" action inline. Toggle with
djangoOrmLens.showCodeLens.
- Edge labels on the ER diagram — relation arrows now surface
on_delete (CASCADE / SET_NULL / PROTECT) and related_name when present.
- Theme picker —
djangoOrmLens.diagramTheme (auto / default / dark / forest / neutral); auto follows your VS Code color theme.
- Python CLI + MCP server — companion package
django-orm-lens on PyPI. Zero-dep CLI (scan, describe, hover, list, er) plus an optional MCP stdio server exposing five read-only tools to Cursor, Aider, Continue.dev, Zed, and any MCP client.
Install
code --install-extension frowningdev.django-orm-lens
pip install "django-orm-lens[mcp]"
Fixes
- CI publish workflow (was silently failing on YAML quoting). Now has parallel Marketplace + PyPI publish jobs.
Links