v1.0.2
·
21 commits
to main
since this release
Changed
django-admin-rest-apiconstraint floor raised from^1.0.0→^1.0.6.
Required to expose the newtargetfield on action descriptors
(batch vs detail). Fresh installs were already on 1.0.6 via the
caret range; this just makes the requirement explicit.admin.actiontool description spells out the new batch/detail
dispatch — agents readingtools/list(oradmin.registry) see
thetargetfield on each action and can decide whether to pass
one pk (detail) or many (batch). The wire endpoint is unchanged;
rest-api dispatches internally based on the action callable's
signature.admin.action.pksschema description notes the per-target
constraint (exactly 1 for detail, ≥1 for batch).
Notes
No code change in the dispatch layer. The new target field flows
through every existing tool that surfaces action descriptors
(admin.registry, admin.list, admin.retrieve) without any
wrapping — rest-api adds the field; this package forwards it. The
74 existing tests still pass; agents that already use admin.action
keep working unchanged for batch actions.