action_component
django_spire.core.components.confirmation.model.action_component
BaseModelActionConfirmationComponent
Bases: BaseConfirmationComponent, ABC
A :class:BaseConfirmationComponent for one action on one model row.
Built with the row, as instance=, it works for any model. Confirming
performs the action with perform_action(), which a subclass writes,
and fires confirmed with the row's pk.
model_name
property
instance
get_permission_model
Return the row's model, whose permissions Glue.ModelAccessMixin reads.