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
Copy file name to clipboardExpand all lines: README.md
+30-15Lines changed: 30 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -422,18 +422,38 @@ class InvoiceAdmin(admin.ModelAdmin):
422
422
423
423
### Add custom admin actions
424
424
425
+
One `actions = (...)` declaration. The API classifies each callable by signature and the SPA renders it on the right surface — **changelist** (multi-select bulk run) or **detail page** (single-object button) — automatically:
426
+
425
427
```python
426
428
classInvoiceAdmin(admin.ModelAdmin):
427
-
actions =["mark_paid"]
429
+
actions =("mark_paid", "regenerate_pdf")
428
430
431
+
# Third parameter is `queryset` → batch shape.
432
+
# Renders on the changelist with multi-select.
429
433
@admin.action(description="Mark selected as paid")
Same `@admin.action` decorator on both. Same `ModelAdmin.actions` tuple. Same audit trail. **No `django-object-actions`, no `change_actions = (...)` redeclaration** — the signature is the wire.
437
457
438
458
### Per-row permission gating
439
459
@@ -538,14 +558,11 @@ customisations.
538
558
539
559
---
540
560
541
-
## Feature status (alpha — currently `0.2.0a*` on PyPI)
561
+
## Feature status
542
562
543
-
The **backend** — the `ModelAdmin`-driven REST API — is the stable,
544
-
complete surface and the table below tracks it. The **React SPA** that
545
-
consumes it is in active development; to keep this README from drifting,
546
-
per-feature *SPA* (UI) status is **not** duplicated here — it is tracked
547
-
live in the [frontend implementation tracker (#160)](https://github.com/MartinCastroAlvarez/django-admin-react/issues/160)
548
-
and the [project board](https://github.com/users/MartinCastroAlvarez/projects/3).
563
+
All three packages are **Production / Stable** on PyPI. The
564
+
`ModelAdmin`-driven REST API + the React SPA + the MCP adapter
565
+
all share the v1 wire contract. Per-feature live status below.
0 commit comments