You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(readme)+chore(deps): PyPI page polish + Django 6 support (#75)
README rework, scoped to the PyPI consumer's needs:
- Drop "Option B — install from source" (contributor-only, confused
the install path).
- Drop "Documentation map" (those links are on GitHub once the user
is in the repo; they're not what a `pip install` consumer needs).
- Drop "Developer scripts" (lint.sh / build.sh / deploy.sh —
contributor-only).
- Convert relative `docs/screenshots/*.png` image refs to absolute
`https://raw.githubusercontent.com/.../main/...` URLs so PyPI's
renderer can resolve them.
- Expand "Extend without writing React" from 5 ModelAdmin knobs to
~10 with concrete examples: list_display, sortable_by,
search_fields, ordering, exclude/readonly_fields, fieldsets,
has_*_permission (with row-level), get_queryset, save_model,
custom AdminSite + DJANGO_ADMIN_REACT['ADMIN_SITE'] pointer.
- New "What's not yet supported (tracked)" table mapping each
unsupported feature to its tracker Issue (#54..#65) with a
practical workaround per row.
- Convert internal doc links (CONTRIBUTING.md, SECURITY.md, LICENSE)
to absolute github.com URLs so they survive on the PyPI page.
- Update the Security section to point at GitHub's Private
Vulnerability Reporting (drops the `security@<TO-BE-CONFIGURED>`
placeholder for end-users).
pyproject.toml:
- Bump Django range from `>=5.0,<6.0` to `>=5.0,<7.0` so 6.x
releases install cleanly. Comment documents the bump policy.
- Add `Framework :: Django :: 6.0` classifier.
- Add `Programming Language :: Python :: 3.13` classifier.
PyPI rendering caveat: the image URLs only resolve once the repo is
public; the new PyPI release page only updates when a new version
(0.1.0a2) is published. README + classifier changes are the
prerequisite; the public flip + new release are the trigger.
Co-authored-by: Martin Castro Laminrs <mcastro@laminr.ai>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
`get_sortable_by` — all of them are called by the SPA the same way the
245
+
HTML admin calls them. If you customised them for `/admin/`, the SPA
246
+
already honours those customisations.
247
+
248
+
---
249
+
250
+
## What's not yet supported (tracked)
251
+
252
+
The pre-alpha intentionally ships a small backend. The following
253
+
`ModelAdmin` features are on the roadmap but not in the alpha — open
254
+
issues with acceptance signals:
255
+
256
+
| Feature | Issue | Workaround for now |
257
+
|---|---|---|
258
+
|`inlines` (`TabularInline` / `StackedInline`) |[#54](https://github.com/MartinCastroAlvarez/django-admin-react/issues/54)| Edit the child model directly under its own admin URL |
259
+
|`ManyToManyField` read + write |[#55](https://github.com/MartinCastroAlvarez/django-admin-react/issues/55)| Exclude the field; manage relation through a dedicated admin |
260
+
|`list_filter` (the left sidebar) |[#56](https://github.com/MartinCastroAlvarez/django-admin-react/issues/56)| Use `search_fields` for the same intent |
261
+
|`FileField` / `ImageField` upload |[#57](https://github.com/MartinCastroAlvarez/django-admin-react/issues/57)| Use the legacy admin for these models |
|`autocomplete_fields` / `raw_id_fields`|[#59](https://github.com/MartinCastroAlvarez/django-admin-react/issues/59)| Keep FK target tables small for now |
264
+
|`JSONField` / `ArrayField` / range types (and `register_field_type` hook) |[#60](https://github.com/MartinCastroAlvarez/django-admin-react/issues/60)| Mark as `readonly`; edit via shell |
| Per-model React extension points |[#65](https://github.com/MartinCastroAlvarez/django-admin-react/issues/65)| Use the legacy admin for model-specific UIs |
270
+
271
+
Mount the SPA at a **second path** (`path("admin2/", include("django_admin_react.urls"))`)
272
+
alongside `/admin/` while the gaps close. Both run off the same
273
+
`ModelAdmin` registrations.
139
274
140
275
---
141
276
@@ -150,59 +285,27 @@ Playwright (Chromium), and writes the six PNGs above.
0 commit comments