From cd40af9411453cc3d56c9efff0dfe0f3e6f4f6f7 Mon Sep 17 00:00:00 2001 From: FROWNINGdev <218313741+FROWNINGdev@users.noreply.github.com> Date: Mon, 28 Sep 2026 01:24:28 +0500 Subject: [PATCH] docs(readme): mark sidebar checkboxes shipped; explain the empty except The roadmap still listed app/model toggle checkboxes as next, but they shipped in v0.10.0 and filter the ER diagram (English and Spanish READMEs). workspace.py swallowed an OSError from pyproject.toml with a bare pass, which CodeQL flags as py/empty-except (alert #20). The comment records why falling through is correct: the models.py walk below still decides. --- README.md | 2 +- cli/django_orm_lens/workspace.py | 2 ++ docs/i18n/README.es.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 80dd5ca..3b04999 100644 --- a/README.md +++ b/README.md @@ -773,7 +773,7 @@ Found by running the CLI over actual checkouts of django-oscar, django-guardian, **Next** - [x] **v0.13.0** — Field completion inside `.filter()` / `.exclude()` / `.get()` ([#3](https://github.com/FROWNINGdev/django-orm-lens/issues/3)) -- [ ] App / model toggle checkboxes to declutter huge schemas +- [x] **v0.10.0** — App / model toggle checkboxes: untick an app or model in the sidebar to drop it from the ER diagram - [ ] DOL rule engine ported into the Python CLI — one rule catalogue, three surfaces **Later** diff --git a/cli/django_orm_lens/workspace.py b/cli/django_orm_lens/workspace.py index 9a1cb74..9e19c81 100644 --- a/cli/django_orm_lens/workspace.py +++ b/cli/django_orm_lens/workspace.py @@ -189,6 +189,8 @@ def _has_django_marker(p: Path) -> bool: ): return True except OSError: + # An unreadable pyproject.toml says nothing either way; the + # models.py walk below still decides. pass for root, dirs, files in os.walk(p): if "models.py" in files: diff --git a/docs/i18n/README.es.md b/docs/i18n/README.es.md index 2b5fa36..2db9ad5 100644 --- a/docs/i18n/README.es.md +++ b/docs/i18n/README.es.md @@ -661,7 +661,7 @@ Abre la paleta de comandos (`Ctrl+Shift+P` / `Cmd+Shift+P`) y escribe "Django OR **Siguiente** - [ ] Autocompletado de consultas ORM dentro de `.filter()` / `.exclude()` / `.annotate()` ([#3](https://github.com/FROWNINGdev/django-orm-lens/issues/3)) -- [ ] Casillas para activar/desactivar aplicaciones / modelos y despejar esquemas enormes +- [x] **v0.10.0** — Casillas para activar/desactivar aplicaciones / modelos: al desmarcarlas en la barra lateral desaparecen del diagrama ER - [ ] Motor de reglas DOL portado a la CLI de Python — un catálogo de reglas, tres superficies **Más adelante**